Skip to content

Conversation

@EmmaYuan1015
Copy link
Contributor

  • Created TimeoutConstants class to manage all test timeout values
  • Replaced hardcoded timeout values across test suites:
    • activation.test.ts: Use ACTIVATION_TIMEOUT (10s)
    • application.ts: Use APPLICATION_INIT_SLEEP (10s)
    • packager.test.ts: Use PACKAGER_CLEAN_RESTART_TIMEOUT (5min) and PACKAGER_STATE_TIMEOUT (3min)
    • componentHelper.ts: Use COMMAND_PALETTE_TIMEOUT (5s)
    • cdpNodeVersionCompatibility.test.ts: Use COMMAND_PALETTE_TIMEOUT (5s)
    • commands.test.ts: Use COMMAND_PALETTE_TIMEOUT (5s)
    • debugConfiguration.test.ts: Use COMMAND_PALETTE_TIMEOUT (5s)
  • Improves maintainability and consistency of timeout configurations

Zhen Zhen Yuan (BEYONDSOFT CONSULTING INC) and others added 2 commits January 9, 2026 13:45
- Created TimeoutConstants class to manage all test timeout values
- Replaced hardcoded timeout values across test suites:
  * activation.test.ts: Use ACTIVATION_TIMEOUT (10s)
  * application.ts: Use APPLICATION_INIT_SLEEP (10s)
  * packager.test.ts: Use PACKAGER_CLEAN_RESTART_TIMEOUT (5min) and PACKAGER_STATE_TIMEOUT (3min)
  * componentHelper.ts: Use COMMAND_PALETTE_TIMEOUT (5s)
  * cdpNodeVersionCompatibility.test.ts: Use COMMAND_PALETTE_TIMEOUT (5s)
  * commands.test.ts: Use COMMAND_PALETTE_TIMEOUT (5s)
  * debugConfiguration.test.ts: Use COMMAND_PALETTE_TIMEOUT (5s)
- Improves maintainability and consistency of timeout configurations
@EmmaYuan1015
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@EmmaYuan1015
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@EmmaYuan1015 EmmaYuan1015 marked this pull request as ready for review January 15, 2026 02:00
@EmmaYuan1015
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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