Skip to content

Commit 2e25297

Browse files
author
vhristov5555
committed
Try to fix problem with missing console log.
1 parent 6dabffc commit 2e25297

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

tests/emulator/android_runtime_tests.py

+12-12
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def test_300_verbose_log_android(self):
6464
log = Tns.run_android(attributes={'--path': self.app_name, '--device': EMULATOR_ID}, wait=False,
6565
assert_success=False)
6666
strings = ['Project successfully built', 'Successfully installed on device with identifier', EMULATOR_ID]
67-
Tns.wait_for_log(log_file=log, string_list=strings, timeout=180, check_interval=10, clean_log=False)
67+
Tns.wait_for_log(log_file=log, string_list=strings, timeout=240, check_interval=10, clean_log=False)
6868
sleep(10)
6969

7070
log_string = File.read(log)
@@ -97,7 +97,7 @@ def test_301_native_package_starting_with_in_are_working(self):
9797
Tns.wait_for_log(log_file=log, string_list=strings, timeout=240, check_interval=10, clean_log=False)
9898
try:
9999
Tns.wait_for_log(log_file=log, string_list=["###TEST PASSED###"],
100-
timeout=120, check_interval=10, clean_log=False)
100+
timeout=240, check_interval=10, clean_log=False)
101101
except Exception as e:
102102
print str(e)
103103
assert 1 == 2, 'Native packages starting with in could not be accessed'
@@ -124,7 +124,7 @@ def test_302_check_if_class_implements_java_interface_javascript(self):
124124
Tns.wait_for_log(log_file=log, string_list=strings, timeout=240, check_interval=10, clean_log=False)
125125
try:
126126
Tns.wait_for_log(log_file=log, string_list=["### TEST PASSED ###"],
127-
timeout=120, check_interval=10, clean_log=False)
127+
timeout=240, check_interval=10, clean_log=False)
128128
except Exception as e:
129129
print str(e)
130130
assert 1 == 2, 'Javascript : Check(instanceof) for java class implements java interface does not work' \
@@ -152,7 +152,7 @@ def test_303_check_if_class_implements_java_interface_java(self):
152152
Tns.wait_for_log(log_file=log, string_list=strings, timeout=240, check_interval=10, clean_log=False)
153153
try:
154154
Tns.wait_for_log(log_file=log, string_list=["### TEST PASSED ###"],
155-
timeout=120, check_interval=10, clean_log=False)
155+
timeout=240, check_interval=10, clean_log=False)
156156
except Exception as e:
157157
print str(e)
158158
assert 1 == 2, 'JAVA : Check(instanceof) for java class implements java interface does not work' \
@@ -174,7 +174,7 @@ def test_304_support_HeapByteBuffer_to_ArrayBuffer(self):
174174
Tns.wait_for_log(log_file=log, string_list=['Successfully synced application'], timeout=240, check_interval=10,
175175
clean_log=False)
176176
try:
177-
Tns.wait_for_log(log_file=log, string_list=["###TEST PASSED###"], timeout=60, check_interval=10,
177+
Tns.wait_for_log(log_file=log, string_list=["###TEST PASSED###"], timeout=240, check_interval=10,
178178
clean_log=False)
179179
except Exception as e:
180180
print str(e)
@@ -207,7 +207,7 @@ def test_305_native_package_with_compile_app_gradle(self):
207207
Tns.wait_for_log(log_file=log, string_list=strings, timeout=240, check_interval=10, clean_log=False)
208208
try:
209209
Tns.wait_for_log(log_file=log, string_list=["###TEST COMPILE PASSED###"],
210-
timeout=120, check_interval=10, clean_log=False)
210+
timeout=240, check_interval=10, clean_log=False)
211211
except Exception as e:
212212
print str(e)
213213
assert 1 == 2, 'Native packages could not be used with compile in app.gradle'
@@ -239,7 +239,7 @@ def test_306_native_package_with_implementation_app_gradle(self):
239239
Tns.wait_for_log(log_file=log, string_list=strings, timeout=240, check_interval=10, clean_log=False)
240240
try:
241241
Tns.wait_for_log(log_file=log, string_list=["###TEST IMPLEMENTATION PASSED###"],
242-
timeout=120, check_interval=10, clean_log=False)
242+
timeout=240, check_interval=10, clean_log=False)
243243
except Exception as e:
244244
print str(e)
245245
assert 1 == 2, 'Native packages could not be used with implementation in app.gradle'
@@ -271,7 +271,7 @@ def test_307_native_package_with_api_app_gradle(self):
271271
Tns.wait_for_log(log_file=log, string_list=strings, timeout=240, check_interval=10, clean_log=False)
272272
try:
273273
Tns.wait_for_log(log_file=log, string_list=["###TEST API PASSED###"],
274-
timeout=120, check_interval=10, clean_log=False)
274+
timeout=240, check_interval=10, clean_log=False)
275275
except Exception as e:
276276
print str(e)
277277
assert 1 == 2, 'Native packages could not be used with api in app.gradle'
@@ -317,7 +317,7 @@ def test_308_native_package_in_plugin_include_gradle_with_compile(self):
317317
Tns.wait_for_log(log_file=log, string_list=strings, timeout=240, check_interval=10, clean_log=False)
318318
try:
319319
Tns.wait_for_log(log_file=log, string_list=["###TEST COMPILE PLUGIN PASSED###"],
320-
timeout=120, check_interval=10, clean_log=False)
320+
timeout=240, check_interval=10, clean_log=False)
321321
except Exception as e:
322322
print str(e)
323323
assert 1 == 2, 'Native packages could not be used in plugin with compile in include gradle'
@@ -369,7 +369,7 @@ def test_309_native_package_in_plugin_include_gradle_with_implementation(self):
369369
Tns.wait_for_log(log_file=log, string_list=strings, timeout=240, check_interval=10, clean_log=False)
370370
try:
371371
Tns.wait_for_log(log_file=log, string_list=["###TEST IMPLEMENTATION PLUGIN PASSED###"],
372-
timeout=120, check_interval=10, clean_log=False)
372+
timeout=240, check_interval=10, clean_log=False)
373373
except Exception as e:
374374
print str(e)
375375
assert 1 == 2, 'Native packages could not be used in plugin with implementation in include gradle'
@@ -420,7 +420,7 @@ def test_310_native_package_in_plugin_include_gradle_with_api(self):
420420
Tns.wait_for_log(log_file=log, string_list=strings, timeout=240, check_interval=10, clean_log=False)
421421
try:
422422
Tns.wait_for_log(log_file=log, string_list=["###TEST API PLUGIN PASSED###"],
423-
timeout=120, check_interval=10, clean_log=False)
423+
timeout=240, check_interval=10, clean_log=False)
424424
except Exception as e:
425425
print str(e)
426426
assert 1 == 2, 'Native packages could not be used in plugin with api in include gradle'
@@ -464,7 +464,7 @@ def test_311_native_package_in_arr_plugin(self):
464464
Tns.wait_for_log(log_file=log, string_list=strings, timeout=240, check_interval=10, clean_log=False)
465465
try:
466466
Tns.wait_for_log(log_file=log, string_list=["###TEST ARR PLUGIN PASSED###"],
467-
timeout=120, check_interval=10, clean_log=False)
467+
timeout=240, check_interval=10, clean_log=False)
468468
except Exception as e:
469469
print str(e)
470470
assert 1 == 2, 'Native packages could not be used in arr plugin'

0 commit comments

Comments
 (0)