Skip to content

Commit 08440a9

Browse files
committed
add SkipIfBelowVersion to skip test below OpenSearch 2.12.0
Signed-off-by: ForeverSRC <[email protected]>
1 parent 7af24f1 commit 08440a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

opensearchapi/api_search_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ func TestSearch(t *testing.T) {
302302
})
303303

304304
t.Run("request with phase took", func(t *testing.T) {
305+
ostest.SkipIfBelowVersion(t, client, 2, 12, "request with phase took")
305306
resp, err := client.Search(
306307
nil,
307308
&opensearchapi.SearchReq{

0 commit comments

Comments
 (0)