ci(raft): dedicated mandatory raft e2e job; no silent skips under CI
This commit is contained in:
@@ -208,7 +208,11 @@ proc runClusterScenario() =
|
||||
suite "Raft E2E cluster":
|
||||
test "3-node election and failover":
|
||||
if not fileExists(BinaryPath):
|
||||
echo "[SKIP] ", BinaryPath, " missing — run `nimble test` (builds the server first)"
|
||||
skip()
|
||||
if getEnv("CI").len > 0:
|
||||
echo "[FAIL] ", BinaryPath, " missing under CI — build step broken?"
|
||||
fail()
|
||||
else:
|
||||
echo "[SKIP] ", BinaryPath, " missing — run `nimble test` (builds the server first)"
|
||||
skip()
|
||||
else:
|
||||
runClusterScenario()
|
||||
|
||||
@@ -425,7 +425,11 @@ proc runFailoverLoadScenario() =
|
||||
suite "Raft failover under load E2E":
|
||||
test "committed writes survive a leader kill under sustained write load":
|
||||
if not fileExists(BinaryPath):
|
||||
echo "[SKIP] ", BinaryPath, " missing — run `nimble test` (builds the server first)"
|
||||
skip()
|
||||
if getEnv("CI").len > 0:
|
||||
echo "[FAIL] ", BinaryPath, " missing under CI — build step broken?"
|
||||
fail()
|
||||
else:
|
||||
echo "[SKIP] ", BinaryPath, " missing — run `nimble test` (builds the server first)"
|
||||
skip()
|
||||
else:
|
||||
runFailoverLoadScenario()
|
||||
|
||||
@@ -412,7 +412,11 @@ proc runWritesScenario() =
|
||||
suite "Raft replicated writes E2E":
|
||||
test "writes replicate, followers reject, failover resumes writes":
|
||||
if not fileExists(BinaryPath):
|
||||
echo "[SKIP] ", BinaryPath, " missing — run `nimble test` (builds the server first)"
|
||||
skip()
|
||||
if getEnv("CI").len > 0:
|
||||
echo "[FAIL] ", BinaryPath, " missing under CI — build step broken?"
|
||||
fail()
|
||||
else:
|
||||
echo "[SKIP] ", BinaryPath, " missing — run `nimble test` (builds the server first)"
|
||||
skip()
|
||||
else:
|
||||
runWritesScenario()
|
||||
|
||||
Reference in New Issue
Block a user