Spanner: CreateInstanceTest is flaky
See original GitHub issue[xUnit.net 00:04:01.76] CreateInstanceTest.TestCreateInstance [FAIL]
Waiting for the operation to finish.
X CreateInstanceTest.TestCreateInstance [8ms]
Error Message:
Assert.Equal() Failure
Expected: AlreadyExists
Actual: Unavailable
Stack Trace:
at CreateInstanceTest.TestCreateInstance() in /tmpfs/src/github/dotnet-docs-samples/spanner/api/Spanner.Samples.Tests/CreateInstanceTest.cs:line 34
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
spanner/spanner_snippets: TestBackupSample failed #1339
The setup of this test is the same as the tests for spanner_snippets, but it uses a different database name (an extra 'l'...
Read more >How to Fix Flaky Tests - Semaphore CI
A test that intermittently fails for no apparent reason — or works in your local machine and fails with continuous integration — is...
Read more >Solving Flaky React Unit Tests
Precaution 1: Try to run your tests in an isolated environment. While debugging the flaky tests, we found that some tests were dependent...
Read more >How to reduce flaky test failures
Flaky tests, also known as flappers, fail to produce accurate and consistent results. These tests may be unreliable because of newly-written ...
Read more >Test Flakiness - Methods for identifying and dealing with flaky ...
A flaky test is a test that both passes and fails periodically without any code changes. Flaky tests are definitely annoying but they...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@laljikanjareeya I think we can safely retry the entire test call in the test method itself, without having to change the sample. See #1337
🚨 friendly triager ping @skuruppu @laljikanjareeya