Skip to content

Commit 4ce6fa4

Browse files
committed
Integration test skip condition correction.
1 parent af6e24a commit 4ce6fa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/inputs/integration/elasticsearch_esql_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
end
3232

3333
before(:all) do
34-
is_ls_with_esql_supported_client = Gem::Version.create(LOGSTASH_VERSION) < Gem::Version.create(LogStash::Inputs::Elasticsearch::LS_ESQL_SUPPORT_VERSION)
34+
is_ls_with_esql_supported_client = Gem::Version.create(LOGSTASH_VERSION) >= Gem::Version.create(LogStash::Inputs::Elasticsearch::LS_ESQL_SUPPORT_VERSION)
3535
skip "LS version does not have ES client which supports ES|QL" unless is_ls_with_esql_supported_client
3636

3737
# Skip tests if ES version doesn't support ES||QL

0 commit comments

Comments
 (0)