Skip to content

Fix typo in worker_api_2_main.cpp. NFC. - #13640

Merged
sbc100 merged 1 commit into
mainfrom
fix_typo_in_worker_test
Mar 11, 2021
Merged

sbc100 merged 1 commit into
mainfrom
fix_typo_in_worker_test

Conversation

@sbc100

@sbc100 sbc100 commented Mar 10, 2021

Copy link
Copy Markdown
Collaborator

I can't say I understand this test well enough to know how it was
passing before but this seems like it is clearly a typo.

Without this change the test happens to occationally generate
abort(CompileError bad magic number) error at least some of the time.
These abort() don't see to cause the test to fail but I have another
chnage the makes the test runner more sensitive to abort() exceptions
propogating all the way out: #13631

Fixing this typo seems to make these aborts go away.

I can't say I understand this test well enough to know how it was
passing before but this seems like it is clearly a typo.

Without this change the test happens to occationally generate
abort(CompileError bad magic number) error at least some of the time.
These abort() don't see to cause the test to fail but I have another
chnage the makes the test runner more sensitive to abort() exceptions
propogating all the way out: #13631

Fixing this typo seems to make these aborts go away.
@sbc100
sbc100 requested a review from kripken March 10, 2021 21:50

@kripken kripken left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heh, wow, yes, it looks like this happened to pass despite the typo thanks to racing... good to fix.

@sbc100
sbc100 merged commit a026f37 into main Mar 11, 2021
@sbc100
sbc100 deleted the fix_typo_in_worker_test branch March 11, 2021 05:34
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.

2 participants