Leave the store tests' proof to the check of its own (#233)
This commit is contained in:
@@ -32,18 +32,3 @@ else
|
||||
echo "NOT RACE-CHECKED: the toolchain holds no C compiler; the suite runs without the race detector"
|
||||
CGO_ENABLED=0 go test -count=1 -timeout 30m ./...
|
||||
fi
|
||||
|
||||
# **The store tests of novox/hq ADR 0299 ran** (review of #232): a test that needs the store skips without one,
|
||||
# and a skip passes unseen. With the store this check is given, each must have run and passed, said by name;
|
||||
# without one, that is said.
|
||||
adr0299='^(TestAStopWithoutAMergeWalksTheOthersAgain|TestAStopWithoutAMergeEndsTheMergesThatContainIt|TestAStopWalksTheOthersAgainInTheOpenBatch|TestAStopNamesWhatStaysOnTheMachinesAndWhatStillCarriesIt|TestAStopWithoutAMergeLeavesItOutOfABatch|TestSavingPlansAndMovingMergesIsOneAct)$'
|
||||
if [ -n "${MESH_TEST_POSTGRES:-}" ]; then
|
||||
ran=$(CGO_ENABLED=0 go test -count=1 -v -run "$adr0299" ./cmd/mesh-controller 2>&1 | grep -E '^--- (PASS|FAIL|SKIP)' || true)
|
||||
printf 'ADR 0299 store tests:\n%s\n' "$ran"
|
||||
if [ "$(printf '%s\n' "$ran" | grep -c '^--- PASS')" -ne 6 ]; then
|
||||
echo "ADR 0299's store tests did not all run and pass against the store"
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
echo "NOT STORE-CHECKED: no MESH_TEST_POSTGRES, so ADR 0299's store tests skipped"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user