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

refactor(tests): Apply OPENDAL_TEST for behavior test #3322

Merged
merged 14 commits into from
Oct 17, 2023
Merged

Conversation

Xuanwo
Copy link
Member

@Xuanwo Xuanwo commented Oct 17, 2023

This PR, inspired by @eryue0220's PR (#3297), simplifies test behavior control through an environment variable rather than arguments. This improvement eliminates the need for code repetition across all services.

  • We don't support the use case like running multiple tests now which is rarely.
  • We don't need to set OPENDAL_XXX_TEST anymore.

Signed-off-by: Xuanwo <github@xuanwo.io>
@Xuanwo Xuanwo requested a review from PsiACE as a code owner October 17, 2023 12:10
Signed-off-by: Xuanwo <github@xuanwo.io>
Signed-off-by: Xuanwo <github@xuanwo.io>
Signed-off-by: Xuanwo <github@xuanwo.io>
Signed-off-by: Xuanwo <github@xuanwo.io>
Signed-off-by: Xuanwo <github@xuanwo.io>
Signed-off-by: Xuanwo <github@xuanwo.io>
Signed-off-by: Xuanwo <github@xuanwo.io>
Signed-off-by: Xuanwo <github@xuanwo.io>
Signed-off-by: Xuanwo <github@xuanwo.io>
Signed-off-by: Xuanwo <github@xuanwo.io>
Signed-off-by: Xuanwo <github@xuanwo.io>
@Xuanwo Xuanwo requested a review from suyanhanx October 17, 2023 13:25
@Xuanwo
Copy link
Member Author

Xuanwo commented Oct 17, 2023

cc @suyanhanx, would you like to take another review?

Copy link
Member

@suyanhanx suyanhanx left a comment

Choose a reason for hiding this comment

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

Thanks

@suyanhanx
Copy link
Member

suyanhanx commented Oct 17, 2023

May we restart the wasabi job? Some cases are very slow.
Seems ok. Just slow.

@Xuanwo Xuanwo merged commit 5d2cb57 into main Oct 17, 2023
111 of 112 checks passed
@Xuanwo Xuanwo deleted the refactor-test branch October 17, 2023 14:02
env:
OPENDAL_S3_TEST: on
OPENDAL_TEST: s3
Copy link
Member

Choose a reason for hiding this comment

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

@Xuanwo It seems we should align Java's behavior test with this option change?

If so, may you create an issue and ping me >_<

Copy link
Member Author

@Xuanwo Xuanwo Oct 17, 2023

Choose a reason for hiding this comment

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

DONE #3323

Copy link
Member

Choose a reason for hiding this comment

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

Maybe python also needs to align?

Copy link
Member Author

Choose a reason for hiding this comment

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

Tracked at #3267

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.

None yet

3 participants