hazelcast / hazelcast-nodejs-client

Hazelcast Node.js Client
https://hazelcast.com/clients/node-js/
Apache License 2.0
150 stars 59 forks source link

NearCachedMapTest test fail [API-1161] #1176

Closed srknzl closed 2 years ago

srknzl commented 2 years ago

failed with node 10.24.1, on windows, client commit 8ad6e6b846e2c1b79e1d46534386562cda422d7b

1) NearCachedMapTest
       invalidate on change=true
         get returns null if the entry was removed by another client:

      AssertionError: expected 1 to equal 0
      + expected - actual

      -1
      +0

      at expectStats (test\integration\backward_compatible\parallel\map\NearCachedMapTest.js:71:43)
      at Context.<anonymous> (test\integration\backward_compatible\parallel\map\NearCachedMapTest.js:106:17)

can easily reproduce on another setup such as node 16 and macos.

github-actions[bot] commented 2 years ago

Internal Jira issue: API-1161

srknzl commented 2 years ago

Test failed again https://github.com/hazelcast/hazelcast-nodejs-client/runs/4946176268?check_suite_focus=true

srknzl commented 2 years ago

Also fails with merged fix:

1) NearCachedMapTest
       invalidate on change=true
         get returns null if the entry was removed by another client:
     Error: Rejected due to timeout of 60000ms. Errors occurred in order: 

AssertionError: expected 1 to be above 1
    at D:\a\hazelcast-nodejs-client\hazelcast-nodejs-client\test\integration\backward_compatible\parallel\map\NearCachedMapTest.js:111:69

... 
60 times this error

https://github.com/hazelcast/hazelcast-nodejs-client/pull/1177