Bit-Nation / BITNATION-Pangea-mobile

Pangea iOS and Android repository
MIT License
52 stars 13 forks source link

[ci] Build hangs after tests step regardless of tests status #313

Closed seland closed 6 years ago

seland commented 6 years ago

Feature / Issue

Build on Bitrise hangs right after tests step. There are two examples: https://www.bitrise.io/build/e45dbb4297b674c3 https://www.bitrise.io/build/4e339a7f5e49bda9

Acceptance criteria

CI build rejects if tests are failed and goes further if tests passed.

Additional information

It works fine earlier, so may be related with that PR - https://github.com/Bit-Nation/BITNATION-Pangea-mobile/pull/304.

seland commented 6 years ago

@william2958 It seems that removing Realm tests by that commit resolves the issue. Hope this helps.

florianlenz commented 6 years ago

Maybe we need to close the realm instances. Tho that would be very anyoing. Maybe there is another way.

seland commented 6 years ago

@florianlenz Yeah, you're probably right. Here is a comment about that.

seland commented 6 years ago

I fixed it by adding --forceExit flag to test script - check out this commit. It seems to be not the issue with CI, so I close the issue.