From 796d537b573c7e16c7d186c325e3ac3fa4f66879 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Przytu=C5=82a?= Date: Thu, 23 Oct 2025 18:50:27 +0200 Subject: [PATCH] integration: enable vector type tests for ScyllaDB ScyllaDB now supports vector type, so we can enable the vector type tests that were previously ignored for ScyllaDB. --- .../tests/integration/types/cql_collections.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scylla/tests/integration/types/cql_collections.rs b/scylla/tests/integration/types/cql_collections.rs index b4a556d892..790e455254 100644 --- a/scylla/tests/integration/types/cql_collections.rs +++ b/scylla/tests/integration/types/cql_collections.rs @@ -254,8 +254,8 @@ async fn test_cql_tuple() { .unwrap(); } -// TODO: Remove this ignore when vector type is supported in ScyllaDB -#[cfg_attr(not(cassandra_tests), ignore)] +// ScyllaDB version that is used for serverless tests is too old to support vector type. +#[cfg_attr(scylla_cloud_tests, ignore)] #[tokio::test] async fn test_vector_type_metadata() { setup_tracing(); @@ -293,8 +293,8 @@ async fn test_vector_type_metadata() { session.ddl(format!("DROP KEYSPACE {ks}")).await.unwrap(); } -// TODO: Remove this ignore when vector type is supported in ScyllaDB -#[cfg_attr(not(cassandra_tests), ignore)] +// ScyllaDB version that is used for serverless tests is too old to support vector type. +#[cfg_attr(scylla_cloud_tests, ignore)] #[tokio::test] async fn test_vector_type_unprepared() { setup_tracing(); @@ -359,8 +359,8 @@ async fn test_vector_type_unprepared() { session.ddl(format!("DROP KEYSPACE {ks}")).await.unwrap(); } -// TODO: Remove this ignore when vector type is supported in ScyllaDB -#[cfg_attr(not(cassandra_tests), ignore)] +// ScyllaDB version that is used for serverless tests is too old to support vector type. +#[cfg_attr(scylla_cloud_tests, ignore)] #[tokio::test] async fn test_vector_type_prepared() { setup_tracing(); @@ -465,8 +465,8 @@ async fn test_vector_single_type< session.ddl(drop_statement).await.unwrap(); } -// TODO: Remove this ignore when vector type is available in ScyllaDB -#[cfg_attr(not(cassandra_tests), ignore)] +// ScyllaDB version that is used for serverless tests is too old to support vector type. +#[cfg_attr(scylla_cloud_tests, ignore)] #[tokio::test] async fn test_vector_type_all_types() { setup_tracing();