Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(all): github action #183

Merged
merged 7 commits into from
Jul 30, 2022
Merged

fix(all): github action #183

merged 7 commits into from
Jul 30, 2022

Conversation

m1ga
Copy link
Contributor

@m1ga m1ga commented Jul 20, 2022

  • update to 11.0.0
  • update node

@m1ga
Copy link
Contributor Author

m1ga commented Jul 20, 2022

Those emulators take so long to start...the karma test is currently failing (locally it works fine) because of a timeout. Its just compiling the app:

20 07 2022 11:36:48.957:DEBUG [titanium]: : �� �Copying /Users/runner/Library/Application Support/Titanium/mobilesdk/osx/11.0.0.GA/android/templates/build/gitignore => /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/karma-32374790/ti.socketio.karmarunner/build/android/.gitignore
20 07 2022 11:36:48.959:INFO [titanium]: : �� � Generating main "AndroidManifest.xml" files
20 07 2022 11:36:48.974:INFO [titanium]: : �� � Building app
20 07 2022 11:36:49.838:INFO [titanium]: : �� � Emulator is booted
20 07 2022 11:36:49.838:INFO [titanium]: : �� � SD card not required, skipping mount check
20 07 2022 11:36:49.838:INFO [titanium]: : �� � Emulator ready!
20 07 2022 11:36:51.347:INFO [titanium]: : �� � [GRADLE] Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
20 07 2022 11:37:18.683:WARN [launcher]: Titanium Test Runner have not captured in 300000 ms, killing.

I'm increasing the timeout

@m1ga
Copy link
Contributor Author

m1ga commented Jul 20, 2022

It's so slow...

Finished in 5 mins 49.444 secs / 5 mins 47.338 secs @ 12:39:56 GMT+0000 (Coordinated Universal Time)
SUMMARY:
✔ 15 tests completed
ℹ 5 tests skipped
✖ 17 tests failed
FAILED TESTS:
  connection
    ✖ should connect while disconnecting another socket
      undefined 0.0.0 (android 0.0.0)
    Error: Timeout - Async function did not complete within 20000ms (set by jasmine.DEFAULT_TIMEOUT_INTERVAL)
    error properties: Object({ toJSON: Function })
    Error: Timeout - Async function did not complete within 20000ms (set by jasmine.DEFAULT_TIMEOUT_INTERVAL)
        at <Jasmine>

locally it will end with

Finished in 7.225 secs / 6.811 secs @ 13:36:18 GMT+0200 (Mitteleuropäische Sommerzeit)

SUMMARY:
✔ 32 tests completed
ℹ 5 tests skipped

@hansemannn
I'm testing this for over an hour already, increasing the jasmin timeout for a last time now (20 -> 60sec). Since the whole part of this is now to update the karma-launcher to a new version at the end we could ignore the karma stuff for now. iOS builds fine and Android locally too.

@hansemannn hansemannn merged commit 0c02a47 into master Jul 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants