We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b24be0e commit 7d8272bCopy full SHA for 7d8272b
tests/templates/kuttl/smoke/check-s3.py
@@ -46,7 +46,11 @@ def run_query(connection, query):
46
connection = get_connection("admin", "admin", namespace)
47
48
trino_version = run_query(connection, "select node_version from system.runtime.nodes where coordinator = true and state = 'active'")[0][0]
49
- print(f"[INFO] Testing against Trino version {trino_version}")
+ print(f"[INFO] Testing against Trino version \"{trino_version}\"")
50
+
51
+ assert len(trino_version) >= 3
52
+ assert trino_version.isnumeric()
53
+ assert trino_version == run_query(connection, "select version()")[0][0]
54
55
run_query(connection, "CREATE SCHEMA IF NOT EXISTS hive.minio WITH (location = 's3a://trino/')")
56
0 commit comments