Skip to content

Commit a68fba3

Browse files
committed
Refactor table representation: replace HashMap<String, (String, String)> with Vec<TableConfig> for improved clarity
1 parent 18ed7d3 commit a68fba3

File tree

2 files changed

+281
-38
lines changed

2 files changed

+281
-38
lines changed

tests/basic_tests.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ async fn get_basic_cluster() -> &'static TestCluster {
4141
let config = ClusterConfig::new()
4242
.with_base_port(33000) // Use different port range from TPC-H tests
4343
.with_csv_table("customers", "testdata/mock/customers.csv")
44-
.with_csv_table("orders", "testdata/mock/orders.csv");
44+
.expect("Failed to configure customers table")
45+
.with_csv_table("orders", "testdata/mock/orders.csv")
46+
.expect("Failed to configure orders table");
4547

4648
let cluster = TestCluster::start_with_config(config)
4749
.await

0 commit comments

Comments
 (0)