Increased initial timeout for each host test so we can be sure binary will be

flashed completely and we can proceed with target reset.

Before fix:
====
Test summary:
+---------+--------+-----------+---------+----------------------------+--------------------+---------------+-------+
| Result  | Target | Toolchain | Test ID | Test Description           | Elapsed Time (sec) | Timeout (sec) | Loops |
+---------+--------+-----------+---------+----------------------------+--------------------+---------------+-------+
| OK      | K64F   | ARM       | NET_1   | TCP client hello world     |        3.37        |       20      |  1/1  |
| OK      | K64F   | ARM       | NET_13  | TCP client echo loop       |        2.06        |       20      |  1/1  |
| OK      | K64F   | ARM       | NET_2   | NIST Internet Time Service |        2.41        |       20      |  1/1  |
| TIMEOUT | K64F   | ARM       | NET_3   | TCP echo server            |       10.21        |       10      |  0/1  |
| TIMEOUT | K64F   | ARM       | NET_4   | TCP echo client            |       10.21        |       10      |  0/1  |
| TIMEOUT | K64F   | ARM       | NET_5   | UDP echo server            |       10.21        |       10      |  0/1  |
| TIMEOUT | K64F   | ARM       | NET_6   | UDP echo client            |       10.21        |       10      |  0/1  |
| OK      | K64F   | ARM       | NET_7   | HTTP client hello world    |        6.46        |       15      |  1/1  |
| TIMEOUT | K64F   | ARM       | NET_8   | NTP client                 |       10.21        |       10      |  0/1  |
+---------+--------+-----------+---------+----------------------------+--------------------+---------------+-------+
Result: 4 OK / 5 TIMEOUT
Completed in 116.32 sec

After fix:
====
Test summary:
+--------+--------+-----------+---------+----------------------------+--------------------+---------------+-------+
| Result | Target | Toolchain | Test ID | Test Description           | Elapsed Time (sec) | Timeout (sec) | Loops |
+--------+--------+-----------+---------+----------------------------+--------------------+---------------+-------+
| OK     | K64F   | ARM       | NET_1   | TCP client hello world     |        3.32        |       20      |  1/1  |
| OK     | K64F   | ARM       | NET_13  | TCP client echo loop       |        2.06        |       20      |  1/1  |
| OK     | K64F   | ARM       | NET_2   | NIST Internet Time Service |        2.4         |       20      |  1/1  |
| OK     | K64F   | ARM       | NET_3   | TCP echo server            |        1.54        |       20      |  1/1  |
| OK     | K64F   | ARM       | NET_4   | TCP echo client            |        1.54        |       20      |  1/1  |
| OK     | K64F   | ARM       | NET_5   | UDP echo server            |        1.47        |       20      |  1/1  |
| OK     | K64F   | ARM       | NET_6   | UDP echo client            |        1.6         |       20      |  1/1  |
| OK     | K64F   | ARM       | NET_7   | HTTP client hello world    |        6.46        |       15      |  1/1  |
| OK     | K64F   | ARM       | NET_8   | NTP client                 |        2.4         |       15      |  1/1  |
+--------+--------+-----------+---------+----------------------------+--------------------+---------------+-------+
Result: 9 OK
Completed in 125.06 sec
pull/929/head
Przemek Wirkus 2015-02-17 09:59:22 +00:00
parent 0e4e1dd9f0
commit 0fe5f5f674
1 changed files with 1 additions and 1 deletions

View File

@ -855,7 +855,7 @@ class SingleTestRunner(object):
line = ''
output = []
start_time = time()
while (time() - start_time) < (duration):
while (time() - start_time) < (2 * duration):
c = get_char_from_queue(obs)
if c:
if verbose: