Skip to content

Commit

Permalink
test: improve skip logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Feb 20, 2022
1 parent 6ec48d0 commit 657f773
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tracing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ func TestClient_Do_tracing(t *testing.T) {
},
})

info := conn.ServerInfo()
if info.Revision < 54455 {
if v := conn.ServerInfo(); (v.Major < 22) || (v.Major == 22 && v.Minor < 2) {
t.Skip("Skipping (not supported)")
}

Expand Down

0 comments on commit 657f773

Please sign in to comment.