Commit b4fd2b6
authored
test(datastore): Isolate to fix flaky IgnoreFieldMismatch (#13557)
Updated `datastore/integration_test.go` to use `suffix` in `NameKey`
construction for `TestIntegration_IgnoreFieldMismatch`. This ensures the
test operates on isolated entities, preventing flakey `datastore: no
such entity` errors caused by collisions.
Fixes: #12808
After fix:
```go
$ go test -count=20 -timeout 45m -run ^TestIntegration_IgnoreFieldMismatch$
2026/01/08 15:42:41 Setting up tests to run on databaseID: ""
PASS
ok cloud.google.com/go/datastore 47.186s
$
```1 parent 72dc163 commit b4fd2b6
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
288 | | - | |
| 287 | + | |
| 288 | + | |
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
| |||
0 commit comments