lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #9579] unit: increase test timeout


From: Joel Cunningham
Subject: [lwip-devel] [patch #9579] unit: increase test timeout
Date: Sat, 3 Mar 2018 18:15:41 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299

URL:
  <http://savannah.nongnu.org/patch/?9579>

                 Summary: unit: increase test timeout
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: jcunningham
            Submitted on: Sat 03 Mar 2018 11:15:40 PM UTC
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: jcunningham
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Any objections to increasing the unit test timeout?

>From attached patch:

Increase test timeout to 10 seconds from default of 4 seconds. See:
https://github.com/libcheck/check/blob/9950edf2a7ba76ad33b47d27bcd237ea1be91612/src/check.c#L36

On my Windows 10 box running WSL, the Unix port unit test fails in the pbuf
tests which do binary compares on 65KB buffers:

../../../../lwip/src/../test/unit/core/test_pbuf.c:169:E:PBUF:test_pbuf_queueing_bigger_than_64k:0:
(after this point) Test timeout expired

The Windows 10 box has an old core 2 duo, which maybe the cause of the slow
down. Could also be WSL or Windows defender, but 10 seconds is enough to pass
unit tests



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 03 Mar 2018 11:15:40 PM UTC  Name:
0001-unit-increase-test-timeout.patch  Size: 1KiB   By: jcunningham

<http://savannah.nongnu.org/patch/download.php?file_id=43446>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?9579>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]