File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ function cleanup {
48
48
kubectl delete modelpackagegroups --all
49
49
kubectl delete notebookinstances --all
50
50
kubectl delete notebookinstancelifecycleconfig --all
51
+ kubectl delete pipelineexecutions --all
52
+ kubectl delete pipelines --all
51
53
52
54
print_controller_logs
53
55
@@ -85,5 +87,12 @@ pushd $E2E_DIR
85
87
86
88
# run tests
87
89
echo " Run Tests"
88
- pytest -n 15 --dist loadfile --log-cli-level INFO -m canary
90
+ pytest_args=( -n 15 --dist loadfile --log-cli-level INFO )
91
+ if [[ $SERVICE_REGION =~ ^(eu-north-1| eu-west-3)$ ]]; then
92
+ # If select_regions_1 true we run the notebook_instance test
93
+ pytest_args+=(-m " canary or select_regions_1" )
94
+ else
95
+ pytest_args+=(-m " canary" )
96
+ pytest " ${pytest_args[@]} "
97
+ fi
89
98
popd
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ def get_notebook_instance_resource_status(reference: k8s.CustomResourceReference
86
86
return resource ["status" ]["notebookInstanceStatus" ]
87
87
88
88
@flaky (max_runs = 2 , min_passes = 1 )
89
- @pytest .mark .canary
89
+ @pytest .mark .select_regions_1
90
90
@service_marker
91
91
class TestNotebookInstance :
92
92
def _wait_resource_notebook_status (
You can’t perform that action at this time.
0 commit comments