Skip to content

Commit

Permalink
Make test more flexible
Browse files Browse the repository at this point in the history
Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
  • Loading branch information
dbussink committed Jul 29, 2024
1 parent 9adf4ff commit c3811b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/test/endtoend/reparent/plannedreparent/reparent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ func TestFullStatus(t *testing.T) {
assert.Equal(t, "ON", primaryStatus.GtidMode)
assert.True(t, primaryStatus.LogReplicaUpdates)
assert.True(t, primaryStatus.LogBinEnabled)
assert.Regexp(t, `[58]\.[07].*`, primaryStatus.Version)
assert.Regexp(t, `[58]\.[074].*`, primaryStatus.Version)
assert.NotEmpty(t, primaryStatus.VersionComment)

replicaTablet := tablets[1]
Expand Down Expand Up @@ -537,7 +537,7 @@ func TestFullStatus(t *testing.T) {
assert.Equal(t, "ON", replicaStatus.GtidMode)
assert.True(t, replicaStatus.LogReplicaUpdates)
assert.True(t, replicaStatus.LogBinEnabled)
assert.Regexp(t, `[58]\.[07].*`, replicaStatus.Version)
assert.Regexp(t, `[58]\.[074].*`, replicaStatus.Version)
assert.NotEmpty(t, replicaStatus.VersionComment)
}

Expand Down

0 comments on commit c3811b2

Please sign in to comment.