Skip to content

Commit 53700ab

Browse files
Use JSON-key-order-agnostic assertion on child timeout_policy snapshot
One more MySQL JSON column comparison that was sensitive to key order on InnoDB — the child call's `timeout_policy` JSON column stores `execution_timeout_seconds` and `run_timeout_seconds` in the storage engine's internal order. Swap the literal-array assertSame for assertSameJsonObject like the rest of the #399 JSON-ordering fixes. Clears 1 MySQL failure under #399: * testCompleteStartsChildWorkflowSnapshotsRetryPolicyAndTimeouts Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 853164a commit 53700ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Feature/V2/V2WorkflowTaskBridgeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1922,7 +1922,7 @@ public function testCompleteStartsChildWorkflowSnapshotsRetryPolicyAndTimeouts()
19221922
'backoff_seconds' => [2, 8],
19231923
'non_retryable_error_types' => ['ValidationError'],
19241924
], $childCall->retry_policy);
1925-
$this->assertSame([
1925+
$this->assertSameJsonObject([
19261926
'snapshot_version' => 1,
19271927
'execution_timeout_seconds' => 600,
19281928
'run_timeout_seconds' => 120,

0 commit comments

Comments
 (0)