Browse Source

Make ip.ImplictCastingEqual test reliable (#108314)

This adds a sort to a test to make the results reliable.
Bogdan Pintea 1 year ago
parent
commit
8c49dd2020
1 changed files with 1 additions and 1 deletions
  1. 1 1
      x-pack/plugin/esql/qa/testFixtures/src/main/resources/ip.csv-spec

+ 1 - 1
x-pack/plugin/esql/qa/testFixtures/src/main/resources/ip.csv-spec

@@ -435,7 +435,7 @@ fe80::cae2:65ff:fece:feb9 | gamma
 
 implictCastingEqual
 required_feature: esql.string_literal_auto_casting_extended
-from hosts | where mv_first(ip0) == "127.0.0.1" | keep host, ip0;
+from hosts | where mv_first(ip0) == "127.0.0.1" | keep host, ip0 | sort host;
 
 host:keyword | ip0:ip
 alpha        | 127.0.0.1