You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by kr...@apache.org on 2026/10/22 05:40:48 UTC

(iggy) 02/02: test(node): keep logins out of the parallel e2e batch

This is an automated email from the ASF dual-hosted git repository.

krishvishal pushed a commit to branch ci/publish-kafka-gateway
in repository https://gitbox.apache.org/repos/asf/iggy.git

commit 8275e0726ade5466face3e7b83fbb68e1ae101e0
Author: Krishna Vishal <kr...@gmail.com>
AuthorDate: Thu Oct 22 11:04:19 2026 +0530

    test(node): keep logins out of the parallel e2e batch
    
    Since #4561 a login replaces the session under concurrent calls, so the batch failed about 8% of CI runs; the same change is in #4619.
---
 foreign/node/src/e2e/tcp.parallel.e2e.ts | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/foreign/node/src/e2e/tcp.parallel.e2e.ts b/foreign/node/src/e2e/tcp.parallel.e2e.ts
index f04e0ff87..0703d809d 100644
--- a/foreign/node/src/e2e/tcp.parallel.e2e.ts
+++ b/foreign/node/src/e2e/tcp.parallel.e2e.ts
@@ -24,26 +24,21 @@ describe('e2e -> parallel', async () => {
   const c = getTestClient();
 
   const baseGetMe = await c.client.getMe();
-  const credentials = { username: 'iggy', password: 'iggy' };
-
 
   it('e2e -> parallel::mix calls', async () => {
     const resp  = await Promise.all([
       c.client.getMe(),
       c.system.getStats(),
       c.system.ping(),
-      c.session.login(credentials),
       c.client.getMe(),
       c.system.getStats(),
       c.system.ping(),
-      c.session.login(credentials),
       c.client.getMe(),
       c.system.getStats(),
       c.system.ping(),
-      c.session.login(credentials),
     ]);
 
-    assert.ok(resp.length === 12);
+    assert.equal(resp.length, 9);
     assert.deepEqual(resp[0], baseGetMe);
     assert.deepEqual(
       Object.keys(resp[1]),