Skip to content

Commit ed16623

Browse files
Run cassandra tests sequentially
1 parent 54bc9a0 commit ed16623

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import { CassandraContainer } from "./cassandra-container";
55

66
const IMAGE = getImage(__dirname);
77

8-
describe.sequential("Cassandra", { timeout: 240_000 }, () => {
8+
describe("Cassandra", { timeout: 240_000 }, () => {
99
// connectWithDefaultCredentials {
10-
it("should connect and execute a query with default credentials", async () => {
10+
it.sequential("should connect and execute a query with default credentials", async () => {
1111
const container = await new CassandraContainer(IMAGE).start();
1212

1313
const client = new Client({
@@ -27,7 +27,7 @@ describe.sequential("Cassandra", { timeout: 240_000 }, () => {
2727
// }
2828

2929
// connectWithCustomCredentials {
30-
it("should connect with custom username and password", async () => {
30+
it.sequential("should connect with custom username and password", async () => {
3131
const username = "testUser";
3232
const password = "testPassword";
3333

@@ -51,7 +51,7 @@ describe.sequential("Cassandra", { timeout: 240_000 }, () => {
5151
// }
5252

5353
// customDataCenterAndRack {
54-
it("should set datacenter and rack", async () => {
54+
it.sequential("should set datacenter and rack", async () => {
5555
const customDataCenter = "customDC";
5656
const customRack = "customRack";
5757
const container = await new CassandraContainer(IMAGE).withDatacenter(customDataCenter).withRack(customRack).start();
@@ -72,7 +72,7 @@ describe.sequential("Cassandra", { timeout: 240_000 }, () => {
7272
// }
7373

7474
// createAndFetchData {
75-
it("should create keyspace, a table, insert data, and retrieve it", async () => {
75+
it.sequential("should create keyspace, a table, insert data, and retrieve it", async () => {
7676
const container = await new CassandraContainer(IMAGE).start();
7777

7878
const client = new Client({
@@ -112,7 +112,7 @@ describe.sequential("Cassandra", { timeout: 240_000 }, () => {
112112
});
113113
// }
114114

115-
it("should work with restarted container", async () => {
115+
it.sequential("should work with restarted container", async () => {
116116
const container = await new CassandraContainer(IMAGE).start();
117117
await container.restart();
118118

0 commit comments

Comments
 (0)