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

Macro tests thread hang #10667

Closed
Simn opened this issue Apr 4, 2022 · 0 comments
Closed

Macro tests thread hang #10667

Simn opened this issue Apr 4, 2022 · 0 comments

Comments

@Simn
Copy link
Member

Simn commented Apr 4, 2022

The macro tests sometimes hang here:

         +test-macro | Changing directory to /tests/threads
         +test-macro | Command: haxe [build.hxml,--interp]
         +test-macro | Running cases.TestEvents...
         +test-macro |     testThreadRunWithEventLoop
         +test-macro |     testRun
         +test-macro |     testRepeat
         +test-macro |     testPromisedEvents
         +test-macro |     testIssue10567_runEventsInOrderByTime
         +test-macro | Running cases.TestTimer...
         +test-macro |     testCorrectInterval
         +test-macro |     testCallbackInSameThread
         +test-macro | Running cases.TestSemaphore...
         +test-macro |     test
         +test-macro | Running cases.TestMutex...
         +test-macro |     testIssue10249
         +test-macro | Running cases.TestMainLoop...
         +test-macro |     testWorksInStaticInits_issue10114
         +test-macro |     testNewAction_immediately
         +test-macro | Running cases.TestFixedThreadPool...
         +test-macro |     testShutdown_finishesSubmittedTasks
         +test-macro |     testShutdownRun_exception
         +test-macro |     testMultipleShutdown
         +test-macro |     testCreateRunShutdown
         +test-macro | Running cases.TestElasticThreadPool...
         +test-macro |     testShutdown_finishesSubmittedTasks
         +test-macro |     testShutdownRun_exception
         +test-macro |     testMultipleShutdown
         +test-macro |     testCreateRunShutdown
         +test-macro |     testThreadTimeout
         +test-macro | Running cases.TestCondition...
         +test-macro |     test

This test was added in #10503 by @Apprentice-Alchemist. I haven't investigated this yet.

Apprentice-Alchemist added a commit to Apprentice-Alchemist/haxe that referenced this issue Apr 5, 2022
Remove dependency on timing, so hopefully it shouldn't hang anymore.
@Simn Simn closed this as completed in 6bcae15 Apr 6, 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

No branches or pull requests

1 participant