Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

test: rstudio alb integration tests #813

Conversation

nguyen102
Copy link
Contributor

Issue #, if available:

Description of changes:

Added integration tests for ALB RStudio.

  1. Check that no other RStudio instance is running
  2. Launch RStudio instance
  3. If AppStream is turned off check that we can make CIDR updates to the RStudio instance
  4. If AppStream is turned off check that the rstudio url has a valid cert. If AppStream is turned on check that the rstudio url is not accessible from the internet
  5. Check that terminating the RStudio instance is successful.

Checklist:

  • Have you successfully deployed to an AWS account with your changes?
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully tested with your changes locally?

AS review ticket id:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@nguyen102 nguyen102 requested a review from a team as a code owner November 17, 2021 22:45
@@ -55,7 +55,7 @@ class WorkspaceServiceCatalog extends Resource {

async cidr(body) {
const api = `${this.api}/cidr`;
const response = await this.doCall(async () => this.axiosClient.put(api, body, {}));
const response = await this.doCall(async () => this.axiosClient.post(api, body, {}));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Making updates to CIDR is actually a POST method, not a PUT method. (Link here]

@nguyen102 nguyen102 changed the title Feat rstudio alb integration tests test: rstudio alb integration tests Nov 18, 2021
Copy link
Contributor

@SanketD92 SanketD92 left a comment

Choose a reason for hiding this comment

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

LGTM

@nguyen102 nguyen102 merged commit 04c61a5 into awslabs:chore-merge-feature-rstudio Nov 18, 2021
@nguyen102 nguyen102 deleted the feat-rstudio-alb-integration-tests branch January 4, 2022 02:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants