about summary refs log tree commit diff stats
path: root/tests/functionaltests
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-06-13 19:49:26 +0100
committerJames Booth <boothj5@gmail.com>2015-06-13 19:49:26 +0100
commit6255420b803dabc38cbda44ca13f5c458b85f5d5 (patch)
tree57322adddc455d1c95031c6b43ba52136990b6f6 /tests/functionaltests
parenta48b9fcec2385c5d571f1f02ed6e769d6b4ee821 (diff)
downloadprofani-tty-6255420b803dabc38cbda44ca13f5c458b85f5d5.tar.gz
Increase connection time, functional tests
Diffstat (limited to 'tests/functionaltests')
-rw-r--r--tests/functionaltests/proftest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/functionaltests/proftest.c b/tests/functionaltests/proftest.c
index c8b38893..78a82c11 100644
--- a/tests/functionaltests/proftest.c
+++ b/tests/functionaltests/proftest.c
@@ -221,6 +221,9 @@ prof_connect(void)
     prof_input("/connect stabber@localhost port 5230");
     prof_input("password");
 
+    // Allow time for profanity to connect
+    exp_timeout = 30;
     assert_true(prof_output_regex("stabber@localhost logged in successfully, .+online.+ \\(priority 0\\)\\."));
+    exp_timeout = 10;
     stbbr_wait_for("prof_presence_1");
 }