Skip to content

Commit 0df4d88

Browse files
committed
Fix path to artifacts in python ci tests.
1 parent c9f3e58 commit 0df4d88

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.gitlab-ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ recovery_random:
105105
artifacts:
106106
when: on_failure
107107
paths:
108-
- contrib/mmts/tests/logs1
109-
- contrib/mmts/tests/logs2
110-
- contrib/mmts/tests/logs3
108+
- tests/logs1
109+
- tests/logs2
110+
- tests/logs3
111111
variables:
112112
<<: *docker_variables
113113
before_script:
@@ -123,9 +123,9 @@ referee:
123123
stage: referee
124124
artifacts:
125125
paths:
126-
- contrib/mmts/tests/logs1
127-
- contrib/mmts/tests/logs2
128-
- contrib/mmts/tests/logs_referee
126+
- tests/logs1
127+
- tests/logs2
128+
- tests/logs_referee
129129
script:
130130
- tar -xzvf docker-image/pgmm.tar.gz
131131
- docker load -i docker-image/pgmm.tar

tests/lib/log_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class UTCFormatter(logging.Formatter):
1616
"defaultFormatter": {
1717
"()": UTCFormatter,
1818
"format": "%(asctime)s.%(msecs)-3d %(levelname)s [%(filename)s:%(lineno)d] %(message)s",
19-
"datefmt": "%Y-%m-%d:%H:%M:%S"
19+
"datefmt": "%Y-%m-%d %H:%M:%S"
2020
}
2121
},
2222
"handlers": {

tests/lib/test_helper.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ def awaitCommit(self, node_id):
176176

177177
raise AssertionError('awaitCommit on node {} exceeded timeout {}'.format(node_id, TEST_MAX_RECOVERY_TIME))
178178

179-
# if write is true, make writing xact
180179
@staticmethod
181180
def awaitOnline(dsn, mm_ping=False):
182181
total_sleep = 0

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy