-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
migrate test-infra to testify for executor_test.go
#28577
Comments
/assign |
Signed-off-by: Karuppiah Natarajan <[email protected]>
I see lot of test suite setup and tear down as part of this test. Just from an overview, it looks like we can also do the setup at test level. But if we still want to do the setup at test suite level - we can choose to use cc @tisonkun |
Signed-off-by: Karuppiah Natarajan <[email protected]>
Hi @karuppiah7890 ! There is a similar case #28300 you can refer to. I think it can directly answer your question. Let me know if still something unclear. |
@tisonkun So, if I'm understanding right, we do setup once in a test and then use |
@karuppiah7890 yep. Actually it is somehow we do suite batch logic manually, but this template code is similar with
so I'm ok with it. |
Cool ! I'll do that ! 👍 |
Signed-off-by: Karuppiah Natarajan <[email protected]>
@XuHuaiyu @hawkingrei I think we may need an expert to split tests in |
@hawkingrei I suggest you try to migrate tests rely on testdata first, so that we can remove the legacy testdata code. |
@hawkingrei @karuppiah7890 I've split this issue into workable subtasks, and the skeleton is constructed in #33394 and you can refer to an example in #33402. Welcome to take over some of the subtasks. |
Accidentally closed. Reopen. |
All tests listed below is moved to
executor_legacy_test.go
file.The text was updated successfully, but these errors were encountered: