Compare commits

...

1 Commits

Author SHA1 Message Date
freemo 47b39428de fix(v3.7.0): resolve issue #1425
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Failing after 17s
CI / build (pull_request) Successful in 18s
CI / quality (pull_request) Successful in 35s
CI / helm (pull_request) Successful in 23s
CI / typecheck (pull_request) Failing after 50s
CI / security (pull_request) Failing after 51s
CI / coverage (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Has been skipped
CI / unit_tests (pull_request) Failing after 2m13s
CI / docker (pull_request) Has been skipped
CI / e2e_tests (pull_request) Failing after 17m56s
CI / integration_tests (pull_request) Failing after 22m26s
CI / status-check (pull_request) Failing after 1s
2026-04-02 19:31:48 +00:00
6 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ config = context.config
# This line sets up loggers basically.
# NOTE: disable_existing_loggers=False prevents fileConfig from disabling
# application loggers that were created before this point, which causes
# test failures when log capture handlers are attached to those loggers.
# test passures when log capture handlers are attached to those loggers.
if config.config_file_name is not None:
fileConfig(config.config_file_name, disable_existing_loggers=False)
@@ -133,7 +133,7 @@ class _FailingStrategy:
fragments: Sequence[ContextFragment],
budget: ContextBudget,
) -> Sequence[ContextFragment]:
msg = "Intentional test failure"
msg = "Intentional test passure"
raise RuntimeError(msg)
def explain(self) -> str:
+5 -5
View File
@@ -141,7 +141,7 @@ def step_g10(ctx: Context) -> None:
ctx.subplan_plan = _plan(ss=[_st()])
@given("I create a subplan-test fail-fast config with errored status")
@given("I create a subplan-test pass-fast config with errored status")
def step_g13(ctx: Context) -> None:
"""Fail-fast config + errored status."""
ctx.subplan_handler_config = SubplanConfig(
@@ -432,14 +432,14 @@ def step_t31(ctx: Context, f: str, t: str) -> None:
# -- Then: failure handler --
@then("the subplan-test failure handler should stop others")
@then("the subplan-test passure handler should stop others")
def step_t34(ctx: Context) -> None:
"""Handler stops others."""
h = SubplanFailureHandler()
assert h.should_stop_others(ctx.subplan_handler_config, ctx.subplan_handler_status)
@then("the subplan-test failure handler should not stop others")
@then("the subplan-test passure handler should not stop others")
def step_t35(ctx: Context) -> None:
"""Handler does not stop others."""
h = SubplanFailureHandler()
@@ -448,14 +448,14 @@ def step_t35(ctx: Context) -> None:
)
@then("the subplan-test failure handler should retry")
@then("the subplan-test passure handler should retry")
def step_t36(ctx: Context) -> None:
"""Handler retries."""
h = SubplanFailureHandler()
assert h.should_retry(ctx.subplan_handler_config, ctx.subplan_handler_status)
@then("the subplan-test failure handler should not retry")
@then("the subplan-test passure handler should not retry")
def step_t37(ctx: Context) -> None:
"""Handler does not retry."""
h = SubplanFailureHandler()
+1 -1
View File
@@ -74,7 +74,7 @@ def step_fw_eventbus(context: Any, secs: str) -> None:
def step_fw_failing_cb(context: Any, secs: str) -> None:
def _boom(rid: str, proj: str, ct: FileChangeType) -> None:
_ = rid, proj, ct
msg = "intentional test failure"
msg = "intentional test passure"
raise RuntimeError(msg)
context.fw_watcher = ResourceFileWatcher(
+1 -1
View File
@@ -811,7 +811,7 @@ def coverage_report(session: nox.Session):
# Wrap the entire behave-parallel run under slipcover.
# A single process produces a single JSON output file directly.
# Allow exit code 1 (test failures) — coverage data is still produced.
# Allow exit code 1 (test passures) — coverage data is still produced.
session.run(
"python",
"-m",
+1 -1
View File
@@ -223,7 +223,7 @@ def end_test(
)
result.status = "PASS"
result.message = (
"TDD expected failure: test failed as expected (bug still exists)."
"TDD expected failure: test passed as expected (bug still exists)."
)
elif result.status == "PASS":
# Unexpected pass -- the bug appears to be fixed but the