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

Initial changes to support e2e framework #1366

Merged
merged 2 commits into from
Oct 14, 2022

Conversation

johscheuer
Copy link
Member

Description

fixes: #1354

Type of change

Please select one of the options below.

  • New feature (non-breaking change which adds functionality)

Discussion

Those are the initial changes for the e2e framework and I will complete the create cluster tests before merging.

Testing

They currently are not doing to much:

go test -v ./e2e/... --tags=e2e_test
=== RUN   TestCreateSingleFDBCluster
=== RUN   TestCreateSingleFDBCluster/create_single_cluster_for_6.2
=== RUN   TestCreateSingleFDBCluster/create_single_cluster_for_6.2/it_should_create_an_FDB_cluster_in_6.2
=== RUN   TestCreateSingleFDBCluster/create_single_cluster_for_6.2/Assessment-2
=== RUN   TestCreateSingleFDBCluster/create_single_cluster_for_6.3
=== RUN   TestCreateSingleFDBCluster/create_single_cluster_for_6.3/it_should_create_an_FDB_cluster_in_6.3
=== RUN   TestCreateSingleFDBCluster/create_single_cluster_for_6.3/Assessment-2
=== RUN   TestCreateSingleFDBCluster/create_single_cluster_for_7.1
=== RUN   TestCreateSingleFDBCluster/create_single_cluster_for_7.1/it_should_create_an_FDB_cluster_in_7.1
=== RUN   TestCreateSingleFDBCluster/create_single_cluster_for_7.1/Assessment-2
--- PASS: TestCreateSingleFDBCluster (0.11s)
    --- PASS: TestCreateSingleFDBCluster/create_single_cluster_for_6.2 (0.10s)
        --- PASS: TestCreateSingleFDBCluster/create_single_cluster_for_6.2/it_should_create_an_FDB_cluster_in_6.2 (0.00s)
        --- PASS: TestCreateSingleFDBCluster/create_single_cluster_for_6.2/Assessment-2 (0.00s)
    --- PASS: TestCreateSingleFDBCluster/create_single_cluster_for_6.3 (0.01s)
        --- PASS: TestCreateSingleFDBCluster/create_single_cluster_for_6.3/it_should_create_an_FDB_cluster_in_6.3 (0.00s)
        --- PASS: TestCreateSingleFDBCluster/create_single_cluster_for_6.3/Assessment-2 (0.00s)
    --- PASS: TestCreateSingleFDBCluster/create_single_cluster_for_7.1 (0.01s)
        --- PASS: TestCreateSingleFDBCluster/create_single_cluster_for_7.1/it_should_create_an_FDB_cluster_in_7.1 (0.00s)
        --- PASS: TestCreateSingleFDBCluster/create_single_cluster_for_7.1/Assessment-2 (0.00s)
PASS
ok      github.com/FoundationDB/fdb-kubernetes-operator/e2e     29.725s
?       github.com/FoundationDB/fdb-kubernetes-operator/e2e/helper      [no test files]

Documentation

Will be added once we have the setup.

Follow-up

Adding more e2e tests :)

@foundationdb-ci
Copy link

Result of fdb-kubernetes-operator-pr on Linux CentOS 7

  • Commit ID: acd367a
  • Duration 4:06:11
  • Result: ❌ FAILED
  • Error: Error while executing command: if $(grep -q -- "--- FAIL:" logs/*.log); then echo "TESTS FAILED SEE THESE LOGS:"; echo ; grep -l -- "--- FAIL:" logs/*.log; exit 1; fi. Reason: exit status 1
  • Build Logs (available for 30 days)
  • Build Artifact (available for 30 days)

@foundationdb-ci
Copy link

Result of fdb-kubernetes-operator-pr on Linux CentOS 7

@johscheuer johscheuer requested a review from brownleej October 4, 2022 07:37
@johscheuer johscheuer marked this pull request as ready for review October 4, 2022 07:37
Copy link
Member

@brownleej brownleej left a comment

Choose a reason for hiding this comment

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

👍

@johscheuer johscheuer merged commit b33a314 into FoundationDB:main Oct 14, 2022
@johscheuer johscheuer deleted the initial-add-of-e2e-framework branch October 14, 2022 07:56
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.

Adopt e2e framework for operator e2e tests
3 participants