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 step unit test failures in agent pipeline #4134

Merged
merged 5 commits into from
Jan 18, 2024

Conversation

ivanduplenskikh
Copy link
Contributor

@ivanduplenskikh ivanduplenskikh commented Jan 26, 2023

Reason:
There is a problem running the ping command through ProcessInvoker.
The invoked process does not catch Ctrl+C/Ctrl+Break signals when we cancel the CancellationToken. This is why the function that cancels the process tree is launched for all processes running in the system, which may take a significant amount of time.

Therefore, I replaced the command with one that does not require interactivity, and which will be canceled by the signals built into the agent.

@ivanduplenskikh ivanduplenskikh force-pushed the users/ivanduplenskikh/tests-failures branch 4 times, most recently from 7f3d450 to 5df3638 Compare November 8, 2023 13:17
@ivanduplenskikh ivanduplenskikh force-pushed the users/ivanduplenskikh/tests-failures branch from 5df3638 to f7bf96f Compare January 17, 2024 12:55
@ivanduplenskikh ivanduplenskikh force-pushed the users/ivanduplenskikh/tests-failures branch from f7bf96f to 55e8aa3 Compare January 17, 2024 16:59
@ivanduplenskikh ivanduplenskikh force-pushed the users/ivanduplenskikh/tests-failures branch from 1797acc to cef92ee Compare January 17, 2024 20:30
@ivanduplenskikh ivanduplenskikh force-pushed the users/ivanduplenskikh/tests-failures branch from 97503e3 to 791a2a2 Compare January 18, 2024 12:57
@ivanduplenskikh ivanduplenskikh marked this pull request as ready for review January 18, 2024 13:11
@ivanduplenskikh ivanduplenskikh requested review from a team as code owners January 18, 2024 13:11
@ivanduplenskikh ivanduplenskikh merged commit 1614c5b into master Jan 18, 2024
11 checks passed
@ivanduplenskikh ivanduplenskikh deleted the users/ivanduplenskikh/tests-failures branch January 18, 2024 18:42
vmapetr pushed a commit that referenced this pull request Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants