Repository navigation
Update acceptance tests for Sample Data v3 - #183
Merged
Merged
Conversation
The data source indexed the first value of each node property unconditionally, so a node with an empty type list (such as Sample Data v3 nodes) made the provider panic with an index out of range. Return an empty string when a property has no values instead. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Look the cache test hosts up by name, as v3 nodes have no matching source ID, and replace the old Sample Data nodes, type and query in the scope test with v3 equivalents. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The test looked up the old "logs" and "perf-lambda-errors" data streams, which Sample Data v3 does not have, so planning failed. Use the v3 serviceHealth stream, scope the tiles to Service objects and monitor its errorRatePercent column instead of the old lambda error columns. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
JRoseDev
approved these changes
Nov 23, 2026
skatary-perso
approved these changes
Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The weekly scheduled Tests run has failed since 31 Oct. The acceptance tests expected the old Sample Data content (data streams
logsanddatabase-free-space, nodeaccount-common-lambda, nodessample-database-1andsample-database-2). Sample Data was replaced by the v3 plugin, which does not have them.This points the tests at things that exist in Sample Data v3:
TestDataStreamsDataSource: data streamlogs->hostHealthTestNodesDataSource: nodeaccount-common-lambda->Web FrontendTestAccResourceCache: data streamdatabase-free-space->hostPerformance, nodessample-database-1/2->web-use-01/02Test changes only, no provider code changes. Not run locally (test binary blocked by antivirus), so this relies on the CI Tests check.
Checklist:
bug-fix