rocksdb icon indicating copy to clipboard operation
rocksdb copied to clipboard

Electron tests hang on M1 (Apple Sillicon)

Open Nazgolze opened this issue 4 years ago • 4 comments

This issue only comes into play once you get past https://github.com/Level/rocksdb/issues/169

> [email protected] test-electron /Users/juan/Desktop/testing/rocksdb
> electron test/electron.js

2021-06-09 10:25:16.577 Electron[84610:15047914] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'ClientCallsAuxiliary': Connection interrupted

Nazgolze avatar Jun 09 '21 08:06 Nazgolze

my bad, i was looking at an old branch. I'll test on master and see if this is actually an issue

Nazgolze avatar Jun 09 '21 08:06 Nazgolze

Updated description

Nazgolze avatar Jun 09 '21 08:06 Nazgolze

This will probably take more time to figure out, so I suggest to temporarily disable Electron tests on mac. In your PR, could you remove TEST_ELECTRON=1, from this line?

https://github.com/Level/rocksdb/blob/5c8e0b9a4519ba8e9a25dc3b704f1bae395af214/.travis.yml#L29

With a comment like # Electron tests are disabled (https://github.com/Level/rocksdb/issues/172)

vweevers avatar Jun 09 '21 08:06 vweevers

Oh nevermind, I see now that this issue only applies to apple silicon, which we don't use in CI.

vweevers avatar Jun 09 '21 08:06 vweevers