diff --git a/internal/api/contract_test.go b/internal/api/contract_test.go index b6bd7d85dc..36c3c7ee69 100644 --- a/internal/api/contract_test.go +++ b/internal/api/contract_test.go @@ -102,7 +102,7 @@ proof.process_io = lambda pid: {} os.environ['GITHUB_TOKEN'] = 'synthetic-must-not-reach-child' report = ' slo_bench_test.go:637: charts/workloads p50=75ms p95=107ms p99=112ms SLO=90ms\n' violation = ' slo_bench_test.go:637: SLO VIOLATION: p95=107ms exceeds target 90ms\n' -passed = report + '--- PASS: TestSLO_WorkloadCharts (0.03s)\nPASS\n' +passed = report.replace('p95=107ms p99=112ms', 'p95=82ms p99=86ms') + '--- PASS: TestSLO_WorkloadCharts (0.03s)\nPASS\n' failed = report + violation + '--- FAIL: TestSLO_WorkloadCharts (0.03s)\nFAIL\n' cases = [ ('idle-pass', False, passed, 0, 0), diff --git a/scripts/installtests/build_release_assets_test.go b/scripts/installtests/build_release_assets_test.go index 4fb293e103..fe70df2524 100644 --- a/scripts/installtests/build_release_assets_test.go +++ b/scripts/installtests/build_release_assets_test.go @@ -38,7 +38,7 @@ func TestChartSLOWorkflowPreservesInconclusiveAndFailure(t *testing.T) { Permissions map[string]string Jobs map[string]struct { Permissions map[string]string - Needs string + Needs any If string Steps []step }