Skip to content
Snippets Groups Projects
Commit fc86d1d4 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Adjust regexp pattern in one of of the tests.

Adjust regexp pattern in one of the tests that
started to fail after an increment in version number.
parent 5c135dc5
No related merge requests found
......@@ -97,7 +97,7 @@ unimplemented
show info
---
info:
version: "1.3.minor-<rev>-<commit>
version: "1.minor.patch-<rev>-<commit>"
uptime: <uptime>
pid: <pid>
wal_writer_pid: <pid>
......
......@@ -13,7 +13,7 @@ exec sql "insert into t0 values (1, 'tuple')"
exec admin "save snapshot"
exec sql "delete from t0 where k0 = 1"
exec admin "exec module command"
sys.stdout.push_filter("(\d\.\d)\.\d-\d+-\S+", "\\1.minor-<rev>-<commit>")
sys.stdout.push_filter("(\d)\.\d\.\d(-\d+-\S+)?", "\\1.minor.patch-<rev>-<commit>")
sys.stdout.push_filter("pid: \d+", "pid: <pid>")
sys.stdout.push_filter("uptime: \d+", "uptime: <uptime>")
exec admin "show info"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment