Try running tests single-threaded to see if TravisCI failures are consistent
Currently, I can't reproduce either of these locally:
rumor::election::five_members_elect_a_new_leader_when_they_are_quorum_partitioned
rumor::departure::two_members_share_departures
But they are consistently failing on travis
@@ -177,7 +177,7 @@ $(foreach component,$(ALL),$(eval $(call BUILD,$(component))))
define UNIT
unit-$1: image ## executes the $1 component's unit test suite
- $(run) sh -c 'cd components/$1 && TESTING_FS_ROOT=$(TESTING_FS_ROOT) cargo test $(CARGO_FLAGS)'
+ $(run) sh -c 'cd components/$1 && TESTING_FS_ROOT=$(TESTING_FS_ROOT) cargo test $(CARGO_FLAGS) -- --test-threads=1'
.PHONY: unit-$1
endef
$(foreach component,$(ALL),$(eval $(call UNIT,$(component))))
