Skip to content

Commit

Permalink
qa: filter test 1355, makes assumptions about pmproxy.conf contents
Browse files Browse the repository at this point in the history
  • Loading branch information
natoscott committed Apr 1, 2024
1 parent 4dae57a commit 30b090f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions qa/1355
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15

_filter_pmproxy_log()
{
sed -e 's/, command keys//g' | \
grep -oE "Lost connection.+|Trying to connect to Redis.+|Cannot connect to Redis.+|Redis .+ setup"
}

Expand Down
4 changes: 2 additions & 2 deletions qa/1355.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Start pmproxy

== Observe a loading error and reconnect
Cannot connect to Redis: LOADING Redis is loading the dataset in memory
Redis slots, command keys, schema version setup
Redis slots, schema version setup

Stop redis proxy

Expand All @@ -16,4 +16,4 @@ Cannot connect to Redis: Connection refused
Start Redis proxy again (loading error for first 3 seconds)

== Observe a reconnect
Redis slots, command keys, schema version setup
Redis slots, schema version setup

0 comments on commit 30b090f

Please sign in to comment.