Skip to content

Commit d60b709

Browse files
Prepare to release v1.13.0 (#318)
* test_node__pgbench_table_checksums__pbckp_2278 is updated (3 iterations) * helper__call_and_check_pgbench_table_checksums is updated (english) * update: testgres.os_ops>=2.0.0,<3.0.0 [pypi is used] * ci: ubuntu_24_04 runs only local tests It is a temporary fix to force a release of 1.13.
1 parent 1229e92 commit d60b709

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

Dockerfile--ubuntu_24_04.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ ssh-keygen -t rsa -f ~/.ssh/id_rsa -q -N ''; \
7272
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys; \
7373
chmod 600 ~/.ssh/authorized_keys; \
7474
ls -la ~/.ssh/; \
75-
TEST_FILTER=\"\" bash ./run_tests.sh;"
75+
TEST_FILTER=\"TestTestgresLocal or TestOsOpsLocal or local\" bash ./run_tests.sh;"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ dependencies = [
5454
"six>=1.9.0",
5555
"psutil",
5656
"packaging",
57-
"testgres.os_ops @ git+https://github.com/postgrespro/testgres.os_ops.git@2.0.0",
57+
"testgres.os_ops>=2.0.0,<3.0.0",
5858
]
5959

6060
[project.urls]

tests/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ pytest
33
pytest-xdist
44
psycopg2
55
six
6-
git+https://github.com/postgrespro/testgres.os_ops.git@2.0.0
6+
testgres.os_ops>=2.0.0,<3.0.0

tests/test_testgres_common.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2187,7 +2187,7 @@ def test_node__pgbench_table_checksums__pbckp_2278(self, node_svc: PostgresNodeS
21872187
node.pgbench_init(scale=20)
21882188

21892189
nPass = 0
2190-
while nPass < 1:
2190+
while nPass < 3:
21912191
nPass += 1
21922192
logging.info("------------------- pass: {}".format(nPass))
21932193

@@ -2261,7 +2261,7 @@ def helper__call_and_check_pgbench_table_checksums(
22612261
recs = cn.execute(C_SQL, tableName)
22622262
assert type(recs) == list # noqa: E721
22632263
if len(recs) == 0:
2264-
logging.info("Table [{}] does not has lock. It is ok.".format(
2264+
logging.info("Table [{}] does not have a lock. It is ok.".format(
22652265
tableName,
22662266
))
22672267
else:
@@ -2270,7 +2270,7 @@ def helper__call_and_check_pgbench_table_checksums(
22702270
rec = recs[0]
22712271
assert type(rec) == tuple # noqa: E721
22722272
assert len(rec) == 2
2273-
logging.error("Table [{}] is has lock [granted: {}][mode: {}].".format(
2273+
logging.error("Table [{}] has a lock [granted: {}][mode: {}].".format(
22742274
tableName,
22752275
rec[0],
22762276
rec[1],

0 commit comments

Comments
 (0)