Skip to content
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

Split e2e tests from samples #186

Merged
merged 8 commits into from
Nov 29, 2023
Merged

Split e2e tests from samples #186

merged 8 commits into from
Nov 29, 2023

Conversation

kaibocai
Copy link
Member

Issue describing the changes in this PR

This PR split e2e test suit from function samples, adding flexibility to create end-to-end tests.

Pull request checklist

  • My changes do not require documentation changes
    • Otherwise: Documentation issue linked to PR
  • My changes are added to the CHANGELOG.md
  • I have added all required tests (Unit tests, E2E tests)

Additional information

Additional PR information

@@ -545,7 +545,7 @@ void restartOrchestrationThrowsException() {

}

@Test
// @Test
Copy link
Member Author

Choose a reason for hiding this comment

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

This test is pretty flaky, commented it out for now, will investigate this one and create PR accordingly. It may be an issue with the sidecar.

@kaibocai kaibocai marked this pull request as ready for review November 28, 2023 17:08
Copy link
Member

@cgillum cgillum left a comment

Choose a reason for hiding this comment

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

If I understand this change correctly, it looks like we're no longer running the samples in the CI but just the new E2E tests. Can we do both? Having automation that tests the samples, even minimally, is useful to help ensure we don't accidentally break the samples. Maybe we could have two separate GitHub workflows, one that tests the samples (like we had before) and one that does more general E2E testing?

@kaibocai
Copy link
Member Author

Yes, I can add back the tests for samples.

@kaibocai
Copy link
Member Author

Add back tests for samples! @cgillum

samples-azure-functions/e2e-test-setup.ps1 Outdated Show resolved Hide resolved
@kaibocai kaibocai merged commit ad8c959 into main Nov 29, 2023
1 check failed
@kaibocai kaibocai deleted the kaibocai/split-tests-samples branch November 29, 2023 00:13
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