Skip to content

Commit ecb2255

Browse files
committed
tests: add missing IPROTO feature flags to greeting negotiation
After adding the IPROTO_FEATURE_IS_SYNC and IPROTO_FEATURE_INSERT_ARROW flags to the client protocol, the test data became irrelevant. Updated the byte sequences in the tests. fix [#466](#466)
1 parent 23f0c26 commit ecb2255

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dial_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ var (
343343
testDialSalt = genSalt()
344344

345345
idRequestExpected = []byte{
346-
0xce, 0x00, 0x00, 0x00, 29, // Length.
346+
0xce, 0x00, 0x00, 0x00, 31, // Length.
347347
0x82, // Header map.
348348
0x00, 0x49,
349349
0x01, 0xce, 0x00, 0x00, 0x00, 0x00,
@@ -352,7 +352,8 @@ var (
352352
0x54,
353353
0xcf, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, // Version.
354354
0x55,
355-
0x97, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, // Features.
355+
0x99, // 0x99 = fixed array of 9 elements (0x90 + 9)
356+
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x0b, 0x0c, // Features (9 elements).
356357
}
357358

358359
idResponseTyped = tarantool.ProtocolInfo{

0 commit comments

Comments
 (0)