fix(signoz): normalize zero active-operation readback
This commit is contained in:
@@ -245,7 +245,11 @@ def test_entrypoint_typed_readbacks_are_exact_and_preserve_unknown_state() -> No
|
||||
)
|
||||
assert '"^agent99_runtime:([0-9a-f]{64}),(sha256:' in preflight
|
||||
assert '"^agent99_active:([0-9]+)$"' in preflight
|
||||
assert '[ `"`$active_rc`" -eq 0 ] || [ `"`$active_rc`" -eq 1 ]' in preflight
|
||||
assert "/usr/bin/timeout --kill-after=5s 10s /usr/bin/pgrep -af" in preflight
|
||||
assert 'case `"`$active_rc`" in' in preflight
|
||||
assert '/usr/bin/awk `"NF { count += 1 } END { print count + 0 }`"' in preflight
|
||||
assert '1) [ -z `"`$active_output`" ]; active_count=0' in preflight
|
||||
assert 'agent99_active:%s`" `"`$active_count' in preflight
|
||||
assert "outputPresent = if ($outputStateReadbackVerified)" in preflight
|
||||
assert "receiptPresent = if ($receiptStateReadbackVerified)" in preflight
|
||||
assert "credentialReferencePresent = if ($credentialReadbackVerified)" in preflight
|
||||
|
||||
Reference in New Issue
Block a user