Commit Graph

11 Commits

Author SHA1 Message Date
Adeeb Shihadeh
566152fc29 fix linter 2020-07-29 14:09:00 -07:00
Adeeb Shihadeh
87c10d3346 fix test file path 2020-07-29 13:57:24 -07:00
Adeeb Shihadeh
17c3ad78f2 test generated services.h 2020-07-29 13:45:03 -07:00
Adeeb Shihadeh
3020c2b925 simple service tests 2020-07-29 13:38:36 -07:00
Adeeb Shihadeh
06c7f72a2c Tests for lower level messaging functions (#73)
* start messaging tests

* test drain sock

* recv with retry

* test retry blocking

* fix zmq
2020-07-27 17:30:45 -07:00
Adeeb Shihadeh
45cd21a468 Messaging unit tests (#66)
* pub sub unit test

* pub master test

* first submaster test case

* test init

* submaster conflate test

* more submaster

* all submaster except alive and valid

* fix ZMQ

* fix ZMQ for test_messaging

* single underscore

* fix key error

* more zmq sleep

* zmq needs even more sleep

* unused

* zmq sleep in submaster tests
2020-07-26 19:58:12 -07:00
Willem Melching
3b753be905 Implement error handling and exceptions (#18)
* implement error handling and exceptions

* Add test for MultiplePublisherError

* add some more tests
2019-12-04 23:05:20 +01:00
Willem Melching
1ba646773e fix linter 2019-12-03 07:56:57 -08:00
George Hotz
347a86615c Switch from polling on FIFOs to signal (#12)
* uids are pids

* remove fifo, go for signal

* that's more what i'm saying

* oops, that's wrong

* add some todos

* make signal poll work

* bring randomness back

* fix case in msgq when subs get evicted while polling

* check for ready messages before poll starts

* No pr builds

* use nanosleep with remainder

* this should pass the test
2019-11-22 12:06:26 -08:00
Willem Melching
f6a8e394a2 add test with multiple subscribers 2019-11-21 13:14:31 -08:00
Willem Melching
66be37087a run python unittest in ci 2019-11-20 17:31:33 -08:00