hazelcast-nodejs-client icon indicating copy to clipboard operation
hazelcast-nodejs-client copied to clipboard

TranslateAddressProviderTest failure [API-1111]

Open srknzl opened this issue 3 years ago • 5 comments

On windows and cd6240ed9569b6f8fdb9ef7339ea7e6e3beb6448

 1) TranslateAddressProviderTest
       should provide true for default config and publicly reachable single member:

      AssertionError: expected false to be true
      + expected - actual

      -false
      +true
      
      at Context.<anonymous> (test\unit\network\TranslateAddressProviderTest.js:236:37)
      at process._tickCallback (internal/process/next_tick.js:68:7)

  2) TranslateAddressProviderTest
       should provide true for default config and publicly reachable members:

      AssertionError: expected false to be true
      + expected - actual

      -false
      +true
      
      at Context.<anonymous> (test\unit\network\TranslateAddressProviderTest.js:251:37)
      at process._tickCallback (internal/process/next_tick.js:68:7)

srknzl avatar Jan 06 '22 10:01 srknzl

Does not fail on my local computer on windows. Seems like related to gh actions env

srknzl avatar Jan 06 '22 11:01 srknzl

Internal Jira issue: API-1111

github-actions[bot] avatar Jan 06 '22 15:01 github-actions[bot]

I think the fail is because somehow const UNREACHABLE_HOST = '192.168.0.1'; was reachable going to change it to an ip that is not reachable for sure.

srknzl avatar Mar 09 '22 12:03 srknzl

The fail happened again in https://github.com/hazelcast/hazelcast-nodejs-client/actions/runs/3148328777/jobs/5118740859#step:9:5841

srknzl avatar Sep 29 '22 10:09 srknzl

Needs backporting.

srknzl avatar Sep 29 '22 10:09 srknzl