Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion test/vtgatev3_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import environment
import keyspace_util
import utils
from protocols_flavor import protocols_flavor

from vtdb import dbexceptions
from vtdb import vtgate_cursor
Expand Down Expand Up @@ -669,7 +670,7 @@ def test_user(self):
self.fail('Execute went through')
except dbexceptions.DatabaseError as e:
s = str(e)
self.assertIn('DeadlineExceeded', s)
self.assertIn(protocols_flavor().rpc_timeout_message(), s)

# test directive timeout longer than the query time
cursor.execute('SELECT /*vt+ QUERY_TIMEOUT_MS=2000 */ SLEEP(1)', {})
Expand Down