Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Fix Windows UT #3065

Merged
merged 17 commits into from
Nov 9, 2020
Merged

Fix Windows UT #3065

merged 17 commits into from
Nov 9, 2020

Conversation

liuzhe-lz
Copy link
Contributor

@liuzhe-lz liuzhe-lz commented Nov 5, 2020

This PR in fact contains 3 updates, sorry...

  1. Fix Windows UT
  2. Fix a bug that cannot locate node executable
  3. Disable pipeline on translation branch. It receives forced push from crowdin bot too often.

@liuzhe-lz liuzhe-lz changed the title Disable UT pipeline on translation branch Fix Windows UT and disable pipeline on translation branch Nov 5, 2020
@liuzhe-lz liuzhe-lz marked this pull request as draft November 5, 2020 03:53
@liuzhe-lz liuzhe-lz changed the title Fix Windows UT and disable pipeline on translation branch Fix Windows UT Nov 5, 2020
@liuzhe-lz liuzhe-lz marked this pull request as ready for review November 5, 2020 09:54
@liuzhe-lz liuzhe-lz requested review from SparkSnail and chicm-ms and removed request for SparkSnail November 5, 2020 09:54
liuzhe and others added 2 commits November 5, 2020 18:05
@@ -34,8 +34,7 @@ def check_output_command(file_path, head=None, tail=None):
def kill_command(pid):
"""kill command"""
if sys.platform == 'win32':
process = psutil.Process(pid=pid)
process.send_signal(signal.CTRL_BREAK_EVENT)
psutil.Process(pid).terminate()
Copy link
Contributor

Choose a reason for hiding this comment

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

For windows platform, main.ts monitor SIGBREAK signal to trigger stop process, does this terminate() function in win32 trigger SIGBREAK?

This was referenced Nov 9, 2020
@chicm-ms chicm-ms merged commit be652aa into microsoft:master Nov 9, 2020
@liuzhe-lz liuzhe-lz deleted the l10n-ut branch November 23, 2020 03:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants