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 flaky publisher/OffloadingTest #2751

Merged
merged 1 commit into from
Nov 11, 2023

Conversation

idelpivnitskiy
Copy link
Member

Motivation:

#2325 says that test failures are caused by
"Executor was not initialized" or RejectedExecutionException. This is the only test that uses ExecutionMode.CONCURRENT and ExecutorExtension for APP_EXECUTOR_EXT is not marked as class-level.

Modifications:

  • Remove ExecutionMode.CONCURRENT from publisher/OffloadingTest;
  • Use setClassLevel for all static APP_EXECUTOR_EXT in AbstractOffloadingTest;
  • Adjust names of ParameterizedTest(s);

Result:

Resolves #2325.

Motivation:

apple#2325 says that test failures are caused by
"Executor was not initialized" or `RejectedExecutionException`.
This is the only test that uses `ExecutionMode.CONCURRENT` and
`ExecutorExtension` for `APP_EXECUTOR_EXT` is not marked as class-level.

Modifications:

- Remove `ExecutionMode.CONCURRENT` from publisher/OffloadingTest;
- Use `setClassLevel` for all static `APP_EXECUTOR_EXT` in
`AbstractOffloadingTest`;
- Adjust names of `ParameterizedTest`(s);

Result:

Resolves apple#2325.
@idelpivnitskiy idelpivnitskiy self-assigned this Nov 11, 2023
@idelpivnitskiy idelpivnitskiy merged commit 414601f into apple:main Nov 11, 2023
15 checks passed
@idelpivnitskiy idelpivnitskiy deleted the OffloadingTest branch November 11, 2023 17:54
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.

Publisher OffloadingTest
1 participant