terraform-provider-kong icon indicating copy to clipboard operation
terraform-provider-kong copied to clipboard

Tests failing sometimes due to kong race condition

Open kevholditch opened this issue 3 years ago • 0 comments

As some tests are using the same names for resources subsequent tests are sometimes failing.

See example test output:

Error: failed to create kong service: &{<nil> 0x140001ef9c0 <nil> 0x14000822b50 <nil> 0x14000822900 0x14000822bb0 0x140001ef9a8 0x14000822ae0 0x140001ef9e0 0x140001ef9b0 <nil> <nil> 0x140001ef9d0 [] <nil> <nil> []} error: HTTP status 409 (message: "UNIQUE violation detected on '{name=\"test\"}'")

kevholditch avatar Jul 28 '21 20:07 kevholditch