Skip to content

Update acceptance tests for Sample Data v3 - #183

Merged
noorulkhan-n merged 4 commits into
mainfrom
fix-tests-for-sample-data-v3
Nov 23, 2026
Merged

noorulkhan-n merged 4 commits into
mainfrom
fix-tests-for-sample-data-v3

Conversation

@noorulkhan-n

Copy link
Copy Markdown
Contributor

Description

The weekly scheduled Tests run has failed since 31 Oct. The acceptance tests expected the old Sample Data content (data streams logs and database-free-space, node account-common-lambda, nodes sample-database-1 and sample-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 stream logs -> hostHealth
  • TestNodesDataSource: node account-common-lambda -> Web Frontend
  • TestAccResourceCache: data stream database-free-space -> hostPerformance, nodes sample-database-1/2 -> web-use-01/02

Test changes only, no provider code changes. Not run locally (test binary blocked by antivirus), so this relies on the CI Tests check.

Checklist:

  • Added a label: bug-fix
  • PR description written

noorulkhan-n and others added 3 commits November 23, 2026 13:00
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>
@noorulkhan-n
noorulkhan-n merged commit 8886614 into main Nov 23, 2026
8 checks passed
@noorulkhan-n
noorulkhan-n deleted the fix-tests-for-sample-data-v3 branch November 23, 2026 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants