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

Update e2e test: timeout + ray + logging #437

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

zdtsw
Copy link
Member

@zdtsw zdtsw commented Aug 11, 2023

Description

  • run check component test in parallel, other test case still in sequence
  • add longer timeout due to new components(keep it here even updated testing in parallel)
  • add Ray in the testing
  • logs for error message
  • enable test on "deletion"

How Has This Been Tested?

took 761s (>10m)
Screenshot from 2023-08-11 17-24-24

after change to run in parallel took 300s
Screenshot from 2023-08-13 17-16-55

Merge criteria:

  • The commits are squashed in a cohesive manner and have meaningful messages.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

@zdtsw zdtsw requested review from etirelli and removed request for cfchase August 11, 2023 16:07
@zdtsw zdtsw changed the base branch from feature-rearchitecture to main August 14, 2023 06:24
@@ -60,18 +60,18 @@ func NewTestContext() (*testContext, error) {
// Lastly if none of them are set, it uses $HOME/.kube/config to create the client.
config, err := ctrlruntime.GetConfig()
if err != nil {
return nil, fmt.Errorf("error creating the config object %v", err)
return nil, fmt.Errorf("Error to config object %v", err)
Copy link
Contributor

Choose a reason for hiding this comment

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

@zdtsw is there a reason to upcase the starting letter in error messages? the recommended best practice is to have all error messages start with lower case.

Copy link
Member Author

Choose a reason for hiding this comment

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

updated to lower-case

- more timeout due to new components (for in sequence run)
- change validat component to run in concurrent
- add Ray in the testing
- logs for error message
- rename functions to align names
- set skip-deletion=false to test this case

Signed-off-by: Wen Zhou <wenzhou@redhat.com>
Copy link
Member

@VaishnaviHire VaishnaviHire left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci
Copy link

openshift-ci bot commented Aug 22, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: VaishnaviHire

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@VaishnaviHire VaishnaviHire merged commit e8e57f9 into opendatahub-io:main Aug 22, 2023
@zdtsw zdtsw deleted the test/e2e_1 branch June 22, 2024 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants