-
Notifications
You must be signed in to change notification settings - Fork 1k
Add long-running connection stability test with dynamic token renewal #3424
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
Conversation
|
|
Co-authored-by: marcschier <[email protected]>
Co-authored-by: marcschier <[email protected]>
Co-authored-by: marcschier <[email protected]>
Co-authored-by: marcschier <[email protected]>
Co-authored-by: marcschier <[email protected]>
|
@copilot make it so that the token renewal also happens at least 5-6 times when not running the test as long running test |
Co-authored-by: marcschier <[email protected]>
Updated the non-CI default duration from 1 minute to 30 minutes, which allows for 6 token renewals (30 minutes ÷ 5-minute token lifetime = 6 renewals). The change is in commit e72f4d3. |
|
@copilot please keep the length at 1 minute for non ci, but configure the token renewal in this case with 10 seconds. |
Co-authored-by: marcschier <[email protected]>
Updated the test configuration:
The change is in commit 76e2b27. |
romanett
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works fine after my fix and produces the expected number of successful token renewals.
Proposed changes
Implements a 90-minute nightly test validating OPC UA connection stability, subscription reliability, and security token renewal under extended runtime. Security token lifetime is dynamically configured based on environment to optimize testing for both CI and local development.
Test Implementation (
ConnectionStabilityTest.cs)TEST_DURATION_MINUTESenv var (default: 90min CI, 1min local)GitHub Actions Workflow (
stability-test.yml)contents: readDocumentation
Types of changes
Checklist
Further comments
The dynamic token lifetime configuration optimizes testing for both environments:
Test validates:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.