File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ jobs:
122122 YDB_LOCAL_SURVIVE_RESTART : true
123123 YDB_USE_IN_MEMORY_PDISKS : true
124124 YDB_TABLE_ENABLE_PREPARED_DDL : true
125- YDB_FEATURE_FLAGS : enable_topic_service_tx
125+ YDB_FEATURE_FLAGS : enable_topic_service_tx,enable_antlr4_parser
126126 YDB_ENABLE_COLUMN_TABLES : true
127127 options : ' -h localhost'
128128 env :
Original file line number Diff line number Diff line change 77 "context"
88 "fmt"
99 "os"
10+ "strings"
1011 "testing"
1112
1213 "github.com/stretchr/testify/require"
@@ -74,5 +75,11 @@ func TestIssue847ScanError(t *testing.T) {
7475 return res .Err ()
7576 }, table .WithTxSettings (table .TxSettings (table .WithSnapshotReadOnly ())))
7677 require .Error (t , err )
77- require .ErrorContains (t , err , "Unexpected token 'SELICT'" )
78+ if ! strings .Contains (
79+ err .Error (), "Unexpected token 'SELICT'" , /*antlr3 parser*/
80+ ) && ! strings .Contains (
81+ err .Error (), "mismatched input 'SELICT'" , /*antlr4 parser*/
82+ ) {
83+ t .Fail ()
84+ }
7885}
You can’t perform that action at this time.
0 commit comments