diff --git a/acceptance/bundle/integration_whl/interactive_single_user/out.direct-exp.txt b/acceptance/bundle/integration_whl/interactive_single_user/out.direct-exp.txt new file mode 100644 index 0000000000..2c32ebd11d --- /dev/null +++ b/acceptance/bundle/integration_whl/interactive_single_user/out.direct-exp.txt @@ -0,0 +1,6 @@ +Hello from my func +Got arguments: +['my_test_code', 'one', 'two'] +Hello from my func +Got arguments: +['my_test_code', 'one', 'two'] diff --git a/acceptance/bundle/integration_whl/interactive_single_user/out.terraform.txt b/acceptance/bundle/integration_whl/interactive_single_user/out.terraform.txt new file mode 100644 index 0000000000..c9ac86bb07 --- /dev/null +++ b/acceptance/bundle/integration_whl/interactive_single_user/out.terraform.txt @@ -0,0 +1,6 @@ +Hello from my func +Got arguments: +['my_test_code', 'one', 'two'] +UPDATED MY FUNC +Got arguments: +['my_test_code', 'one', 'two'] diff --git a/acceptance/bundle/integration_whl/interactive_single_user/output.txt b/acceptance/bundle/integration_whl/interactive_single_user/output.txt index 003899f608..3650585e0c 100644 --- a/acceptance/bundle/integration_whl/interactive_single_user/output.txt +++ b/acceptance/bundle/integration_whl/interactive_single_user/output.txt @@ -43,9 +43,6 @@ Run URL: [DATABRICKS_URL]/?o=[NUMID]#job/[NUMID]/run/[NUMID] [TIMESTAMP] "[default] Test Wheel Job [UNIQUE_NAME]" RUNNING [TIMESTAMP] "[default] Test Wheel Job [UNIQUE_NAME]" TERMINATED SUCCESS -Hello from my func -Got arguments: -['my_test_code', 'one', 'two'] === Make a change to code without version change and run the job again >>> [CLI] bundle deploy @@ -61,9 +58,6 @@ Run URL: [DATABRICKS_URL]/?o=[NUMID]#job/[NUMID]/run/[NUMID] [TIMESTAMP] "[default] Test Wheel Job [UNIQUE_NAME]" RUNNING [TIMESTAMP] "[default] Test Wheel Job [UNIQUE_NAME]" TERMINATED SUCCESS -UPDATED MY FUNC -Got arguments: -['my_test_code', 'one', 'two'] >>> [CLI] bundle destroy --auto-approve The following resources will be deleted: diff --git a/acceptance/bundle/integration_whl/interactive_single_user/script b/acceptance/bundle/integration_whl/interactive_single_user/script index b7803c2938..20f089b4fb 100644 --- a/acceptance/bundle/integration_whl/interactive_single_user/script +++ b/acceptance/bundle/integration_whl/interactive_single_user/script @@ -4,9 +4,9 @@ trace cat databricks.yml cp -r $TESTDIR/../interactive_cluster/{setup.py,my_test_code} . trap "errcode trace '$CLI' bundle destroy --auto-approve" EXIT trace $CLI bundle deploy -trace $CLI bundle run some_other_job +trace $CLI bundle run some_other_job > out.$DATABRICKS_BUNDLE_ENGINE.txt title "Make a change to code without version change and run the job again" update_file.py my_test_code/__main__.py 'Hello from my func' 'UPDATED MY FUNC' trace $CLI bundle deploy -trace $CLI bundle run some_other_job +trace $CLI bundle run some_other_job >> out.$DATABRICKS_BUNDLE_ENGINE.txt