[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [MirageOS-devel] netif that reads from pcap / hoards writes
Cool idea. For most tests I think it would be an advantage to use a stub implementation of OS.Time.sleep so that the tests would run almost instantly, regardless of time-outs. When you need to verify that the unit under test is sleeping for the correct amount of time then you'd need to record the calls to sleep, or something similar. The ARP test fails for me onÂtest_queries_retried (extra debug messages added): ARP: sending gratuitous from 192.168.2.222 ARP: updating 192.168.2.7 -> 00:16:3e:7b:2b:4d ARP: transmitting probe -> 192.168.2.4 # written: 2 ff ff ff ff ff ff ff ff ff ff ff ff 08 06 00 01 08 00 06 04 00 01 ff ff ff ff ff ff c0 a8 02 de ff ff ff ff ff ff c0 a8 02 04 ff ff ff ff ff ff ff ff ff ff ff ff 08 06 00 01 08 00 06 04 00 02 ff ff ff ff ff ff c0 a8 02 de ff ff ff ff ff ff 00 00 00 00 Fatal error: exception OUnitTest.OUnit_failure("expected: Success but got: Last 3 sent packets weren't ARP probes") Raised at file "src/core/lwt.ml", line 894, characters 22-23 Called from file "src/unix/lwt_main.ml", line 34, characters 8-18 Called from file "main.ml", line 36, characters 2-28 Looks like the second packet is a gratuitous ARP. Luke On 12 March 2015 at 20:54, Mindy <mindy@xxxxxxxxxxxxxxxxxxx> wrote: Hi all, _______________________________________________ MirageOS-devel mailing list MirageOS-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |