Skip to content

Commit 4d653d3

Browse files
committed
Add delay in flaky async test
1 parent 33906dd commit 4d653d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/NRedisStack.Tests/Examples/ExampleTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ public void PipelineExample(string endpointId)
114114
// Execute the pipeline
115115
pipeline.Execute();
116116

117+
// Wait for the pipeline operations to complete
118+
Task.Delay(100).Wait();
119+
117120
// Get the result back JSON
118121
var result = getResponse.Result;
119122

0 commit comments

Comments
 (0)