-
Notifications
You must be signed in to change notification settings - Fork 356
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
test: remove WebUI e2e-tests dependency on det-deploy #575
test: remove WebUI e2e-tests dependency on det-deploy #575
Conversation
69e2b8c
to
b23fd92
Compare
b23fd92
to
2636e19
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sooooooo much faster than docker image build 👍 👍 👍
I added some comments, but there was a question regarding $PROJECT_ROOT
. I don't have that defined and can't find any references to it. My equivalent is $DET_PROJ
but that might be specific to my setup. The relative path approach (how the original Makefile had it) makes more sense so it doesn't rely on an env var.
) | ||
|
||
return subprocess.run( | ||
f"seq {count} | xargs -n 1 -P 0 -I[] {cmd}", shell=True, check=True, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you test that this works on mac? @hkang1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hamidzr For this part I encounter this error:
no matches found: -I[]
It didn't like the -I[] option...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
swapped it for a python solution.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ran into an issue with xargs
portion. Specifically the -I[]
option not matching anything.
push users toward directly iterating with the python script to benefit from the cli support
fdcee5c
to
669c4cc
Compare
e2e-tests got stuck on cancelling an experiment: video |
For me it only failed locally on But |
based on the UI I think you are using build files from another branch :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM make test
ran great while another cluster was running simultaneously!
Description
This PR removes the webui e2e tests dependency on
det-deploy
and improves developer interactions with the test runnere2e-tests.py
https://determinedai.atlassian.net/browse/DET-3072
https://determinedai.atlassian.net/browse/DET-2652
Test Plan
Ran tests locally and got all greens.
Commentary (optional)
left 1004ef8 as a direct copy of the
tools
directory so that part probably doesn't need a review.