Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(379)

Unified Diff: chrome/test/functional/secure_shell.py

Issue 10993040: Fix secure shell test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/secure_shell.py
diff --git a/chrome/test/functional/secure_shell.py b/chrome/test/functional/secure_shell.py
index 043c910ba2818d4f9e7e7fedf9b2051fa39c7ec9..d9e59a604a37cb84465ba5b9b3e60f7321d51262 100755
--- a/chrome/test/functional/secure_shell.py
+++ b/chrome/test/functional/secure_shell.py
@@ -98,7 +98,10 @@ class SecureShellTest(pyauto.PyUITest):
# Type 'exit' and close the tab
self.SendKeysToHterm('exit\\n', tab_index=1)
- self.WaitForHtermText('exited with status code 0', tab_index=1,
+ # Check for only 'code 0' since that is what indicates that we exited
+ # successfully. Checking for more stringage causes flakes since the exit
+ # string does change at times.
+ self.WaitForHtermText('code 0', tab_index=1,
msg='Did not get correct exit message')
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698