Skip to content

Commit

Permalink
Sync DeduplicationTest with Harness repo
Browse files Browse the repository at this point in the history
  • Loading branch information
roxblnfk committed Jan 20, 2025
1 parent fffcc39 commit 4c03aea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function updateHandlersWithOneCall(
$resolver = $stub->startUpdate('resolve', "key", "resolved");

// Should be completed after the previous operation
$result = $stub->getResult(timeout: 1);
$result = $stub->getResult();

$this->assertSame(['key' => 'resolved'], (array) $result, 'Workflow result contains resolved value');
$this->assertFalse($handle->hasResult());
Expand Down
2 changes: 1 addition & 1 deletion tests/Acceptance/Harness/Update/DeduplicationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class FeatureWorkflow
#[WorkflowMethod('Harness_Update_Deduplication')]
public function run()
{
yield Workflow::await(fn(): bool => $this->counter >= 2);
yield Workflow::await(fn(): bool => Workflow::allHandlersFinished());
return $this->counter;
}

Expand Down

0 comments on commit 4c03aea

Please sign in to comment.