Skip to content

Commit 9c56f72

Browse files
Add missing await to cassandra test (#1154)
1 parent 96013d8 commit 9c56f72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/modules/cassandra/src/cassandra-container.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ describe.sequential("CassandraContainer", { timeout: 240_000 }, () => {
101101
// Insert a record
102102
const id = "d002cd08-401a-47d6-92d7-bb4204d092f8"; // Fixed UUID for testing
103103
const username = "Testy McTesterson";
104-
client.execute("INSERT INTO test_keyspace.users (id, name) VALUES (?, ?)", [id, username]);
104+
await client.execute("INSERT INTO test_keyspace.users (id, name) VALUES (?, ?)", [id, username]);
105105

106106
// Fetch and verify the record
107107
const result = await client.execute("SELECT * FROM test_keyspace.users WHERE id = ?", [id], { prepare: true });

0 commit comments

Comments
 (0)