@dbos-inc/confluent-kafka-receive 3.0.19-preview → 3.0.23-preview
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -185,7 +185,6 @@ async function purgeTopic(admin: Admin, topic: string) {
|
|
|
185
185
|
await new Promise((resolve) => setTimeout(resolve, 2000));
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
-
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
|
189
188
|
suite('confluent-kafka-receive', async () => {
|
|
190
189
|
const kafkaAvailable = await validateKafka(kafkaConfig);
|
|
191
190
|
let producer: Producer | undefined = undefined;
|
|
@@ -247,8 +246,7 @@ suite('confluent-kafka-receive', async () => {
|
|
|
247
246
|
});
|
|
248
247
|
|
|
249
248
|
for (const { functionName, topic } of testCases) {
|
|
250
|
-
|
|
251
|
-
test(`${topic}-${functionName}`, { skip: !kafkaAvailable, timeout: 125000 }, async () => {
|
|
249
|
+
await test(`${topic}-${functionName}`, { skip: !kafkaAvailable, timeout: 125000 }, async () => {
|
|
252
250
|
await purgeTopic(admin!, topic);
|
|
253
251
|
const message = `test-message-${Date.now()}`;
|
|
254
252
|
await producer!.send({ topic, messages: [{ value: message }] });
|
|
@@ -262,4 +260,4 @@ suite('confluent-kafka-receive', async () => {
|
|
|
262
260
|
assert(!!status);
|
|
263
261
|
});
|
|
264
262
|
}
|
|
265
|
-
});
|
|
263
|
+
}).catch(assert.fail);
|