Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd020b61

Browse files
committed
one more try to catch python-tests fail on pg-10
1 parentb2ae51d commitd020b61

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎run_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ make USE_PGXS=1 python_tests || status=$?
134134
deactivate
135135
set -x
136136

137-
if [$status-ne 0 ];thencat tests/python/tests.log;fi
137+
if [$status-ne 0 ];thentail -n 200 tests/python/tests.log;fi
138138

139139
# show Valgrind logs if necessary
140140
if ["$LEVEL"="nightmare" ];then

‎tests/python/partitioning_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,8 +1089,6 @@ def test_concurrent_updates(self):
10891089
SELECT create_range_partitions('test1', 'b', 1, 5);
10901090
'''
10911091

1092-
configure_testgres(use_python_logging=True)
1093-
10941092
withself.start_new_pathman_cluster(enable_partitionrouter=True)asnode:
10951093
node.safe_psql(create_sql)
10961094

@@ -1131,6 +1129,8 @@ def make_updates(node, count):
11311129
else:
11321130
suite=unittest.TestLoader().loadTestsFromTestCase(Tests)
11331131

1132+
configure_testgres(use_python_logging=True)
1133+
11341134
result=unittest.TextTestRunner(verbosity=2,failfast=True).run(suite)
11351135
ifnotresult.wasSuccessful():
11361136
sys.exit(1)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp