Skip to content

Remote Environment Controller acceptance tests #710

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

Merged
merged 19 commits into from
Sep 21, 2018

Conversation

Szymongib
Copy link
Contributor

Description

Changes proposed in this pull request:

  • Implemented acceptance tests for Remote Environment Controller

Related issue(s)
First part of #626

@Szymongib Szymongib added kind/feature Categorizes issue or PR as related to a new feature. WIP area/application-connector Issues or PRs related to application connectivity labels Sep 14, 2018
@Szymongib Szymongib requested a review from a user September 14, 2018 10:55
@Szymongib Szymongib removed the WIP label Sep 18, 2018
@akgalwas akgalwas self-assigned this Sep 18, 2018

## Usage

This section provides information on building and versioning of the Docker image, as well as configuring the Kyma.
Copy link
Contributor

Choose a reason for hiding this comment

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

This section provides information on building and versioning of the Docker image, as well as configuring the Kyma.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done


This section provides information on building and versioning of the Docker image, as well as configuring the Kyma.

### Configuring the Kyma
Copy link
Contributor

Choose a reason for hiding this comment

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

Configuring the Kyma

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@CLAassistant
Copy link

CLAassistant commented Sep 19, 2018

CLA assistant check
All committers have signed the CLA.

return deployment, err
}

func shouldRetry(err error, shouldFail bool) bool {
Copy link
Contributor

Choose a reason for hiding this comment

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

This function is not easy to read since it covers two scenarios : checks for adding and removal.Please, get rid of it.


helmClient := testkit.NewHelmClient(config.TillerHost, retryCount, retryWaitTime*time.Second)
testReName := "test-create-re"
k8sResourcesChecker := testkit.NewK8sResourceChecker(testReName, k8sResourcesClient, retryCount, retryWaitTime*time.Second)
Copy link
Contributor

Choose a reason for hiding this comment

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

Please define retryWaitTimeSeconds with the following value: retryWaitTime*time.Second.

@@ -360,6 +361,8 @@ global.connector_service_tests.version=${versions['tests/connector-service-tests
global.connector_service_tests.dir=${versions['tests/connector-service-tests'] == env.BRANCH_NAME ? 'pr/' : 'develop/'}
global.metadata_service_tests.version=${versions['tests/metadata-service-tests']}
global.metadata_service_tests.dir=${versions['tests/metadata-service-tests'] == env.BRANCH_NAME ? 'pr/' : 'develop/'}
global.remote-environment-controller-tests.version=${versions['tests/remote-environment-controller-tests']}
Copy link
Contributor

Choose a reason for hiding this comment

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

Please use underscores instead of dashes, dashes are not allowed as YAML keys.
See all other components in this list for reference.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@Szymongib Szymongib merged commit 1edaba6 into kyma-project:master Sep 21, 2018
@Szymongib Szymongib deleted the re-controller-tests branch October 23, 2018 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/application-connector Issues or PRs related to application connectivity kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants