Skip to content

[AV-129813] Create list eventing function data source acceptance test#658

Merged
IsaacLambat merged 1 commit into
feature/AV-128959-eventing-functionsfrom
AV-129813-list-tests
Jun 19, 2026
Merged

[AV-129813] Create list eventing function data source acceptance test#658
IsaacLambat merged 1 commit into
feature/AV-128959-eventing-functionsfrom
AV-129813-list-tests

Conversation

@IsaacLambat

@IsaacLambat IsaacLambat commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Jira

  • AV-129813

Description

  • Add acceptance testing for list eventing function data source

Type of Change

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).
  • This change updates the ci/cd workflow.
  • Documentation fix/enhancement.

Manual Testing Approach

How was this change tested and do you have evidence? (REQUIRED: Select at least 1)

  • Manually tested
  • Unit tested
  • Acceptance tested
  • Unable to test / will not test (Please provide comments in section below)

Testing

Testing

New tests pass on CI

=== CONT  TestAccDatasourceEventingFunctions
--- PASS: TestAccDatasourceEventingFunctions (62.46s)

Further comments

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds an acceptance test to validate the “list eventing functions” Terraform data source against the Capella API, including coverage for the optional status filter.

Changes:

  • Introduces TestAccDatasourceEventingFunctions to create an eventing function and assert it appears in the unfiltered list.
  • Adds assertions for status-filtered reads (matching and excluding cases) and helper check functions to validate list contents.

Comment thread acceptance_tests/eventing_functions_datasource_test.go
Comment thread acceptance_tests/eventing_functions_datasource_test.go Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread acceptance_tests/eventing_functions_datasource_test.go Outdated
@IsaacLambat IsaacLambat force-pushed the AV-129813-list-tests branch from 7bebff2 to 203698d Compare June 18, 2026 23:14
@IsaacLambat IsaacLambat marked this pull request as ready for review June 18, 2026 23:14
@IsaacLambat IsaacLambat requested a review from a team as a code owner June 18, 2026 23:14
@factory-droid

factory-droid Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Droid encountered an error —— View job


@IsaacLambat IsaacLambat merged commit f6ce174 into feature/AV-128959-eventing-functions Jun 19, 2026
9 of 11 checks passed
@IsaacLambat IsaacLambat deleted the AV-129813-list-tests branch June 19, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants