Skip to content

Test fails with Tarantool 2.8.1 or newer #105

Closed
@DifferentialOrange

Description

@DifferentialOrange

This commit has changes duplicate key message in Tarantool 2.8.1. Thus test run fails in Example() test of example_test.go file since Tarantool returns

Insert Error Duplicate key exists in unique index "primary" in space "test" with old tuple - [10, "test", "one"] and new tuple - [10, "test", "one"] (0x3)

while

// Insert Error Duplicate key exists in unique index 'primary' in space 'test' (0x3)

is expected.

To fix tests for Tarantool 2.x (since versions prior to 2.8.2 is EOL or will be there soon), example_test.go should be rewritten with some kind of fork based on Tarantool version or test case comparison should be replaced with regex.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions