Skip to content

Commit

Permalink
Merge pull request #135369 from cockroachdb/blathers/backport-release…
Browse files Browse the repository at this point in the history
…-24.3-133922

release-24.3: testccl: ignore timeout error for decode_plan_gist in TestExplainGist (#135369)

Co-Authored-By: Drew Kimball <[email protected]>
  • Loading branch information
yuzefovich and DrewKimball authored Nov 16, 2024
2 parents d5aad9d + 5e3f964 commit 38da8e8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkg/ccl/testccl/sqlccl/explain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,11 @@ func TestExplainGist(t *testing.T) {
}
_, err = sqlDB.Exec("SELECT crdb_internal.decode_plan_gist($1);", gist)
if err != nil {
// We might be still in the process of cancelling the previous
// DROP operation - ignore this particular error.
if !testutils.IsError(err, "descriptor is being dropped") {
// We might be still in the process of cancelling the previous DROP
// operation or hit the statement timeout - ignore this particular
// error.
if !testutils.IsError(err, "descriptor is being dropped") &&
!sqltestutils.IsClientSideQueryCanceledErr(err) {
t.Fatal(err)
}
continue
Expand Down

0 comments on commit 38da8e8

Please sign in to comment.