Skip to content

Commit effb898

Browse files
author
Maksim Milyutin
committed
Fix getting version number in tests
1 parent 0675d11 commit effb898

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/partitioning_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,8 +419,8 @@ def test_parallel_nodes(self):
419419

420420
# Check version of postgres server
421421
# If version < 9.6 skip all tests for parallel queries
422-
version = node.execute("postgres", "show server_version_num")
423-
if int(version[0][0]) < 90600:
422+
version = node.psql("postgres", "show server_version_num")
423+
if int(version[1]) < 90600:
424424
return
425425

426426
# Prepare test database

0 commit comments

Comments
 (0)