From 4a72f963a544e3afbbcbf2852497e096d18f9bb5 Mon Sep 17 00:00:00 2001 From: Alka Trivedi Date: Wed, 4 Mar 2026 11:12:01 +0530 Subject: [PATCH] fix: system test against regular session --- system-test/spanner.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-test/spanner.ts b/system-test/spanner.ts index 5ee4fcbd7..9a8925815 100644 --- a/system-test/spanner.ts +++ b/system-test/spanner.ts @@ -1193,7 +1193,7 @@ describe('Spanner', () => { assert.fail('Expected an error to be thrown, but it was not.'); } catch (err: any) { KOKORO_JOB_NAME?.includes('system-test-regular-session') - ? assert.strictEqual(err.code, grpc.status.FAILED_PRECONDITION) + ? assert.strictEqual(err.code, grpc.status.OUT_OF_RANGE) : assert.strictEqual(err.code, grpc.status.INVALID_ARGUMENT); } };