@@ -160,20 +160,21 @@ run_test_cases()
160160
161161# Step 1. Update try_num for each new test run to avoid conflicts with previous runs.
162162# Alternative: Remove previous test directories manually.
163- try_num=16
163+ try_num=17
164164
165165# Step 2. Set paths for your environment by uncommenting the appropriate lines.
166- # Running from Chrysalis:
167- path_to_repo = /home/ac.forsyth2/ez/zstash/
168- dst_dir = /home/ac.forsyth2/zstash/tests/test_globus_auth_try${try_num}
169- # Running from Perlmutter:
170- # path_to_repo = /global/homes/f/forsyth/ez/zstash
171- # dst_dir = global/homes/f/forsyth/zstash/tests/test_globus_auth_try${try_num}
172- # Running from Compy:
173- # path_to_repo = /qfs/people/fors729/ez/zstash
174- # dst_dir= /qfs/people/fors729/zstash/tests/test_globus_auth_try${try_num}
175-
176- # Step 3. Run the test cases for each endpoint.
166+ # Ordered by: Chrysalis, Perlmutter, Compy
167+ # Running from:
168+ path_to_repo=/home/ac.forsyth2/ez/zstash/
169+ # path_to_repo=/global/homes/f/forsyth/ez/zstash
170+ # path_to_repo=/qfs/people/fors729/ez/zstash
171+ # Archiving to:
172+ chrysalis_dst_dir=/home/ac.forsyth2/zstash_tests/test_globus_auth_try${try_num}
173+ perlmutter_dst_dir=/global/homes/f/forsyth/zstash_tests/test_globus_auth_try${try_num}
174+ hpss_dst_dir=/home/f/forsyth/zstash_tests/test_globus_auth_try${try_num}
175+ compy_dst_dir=/compyfs/fors729/zstash_tests/test_globus_auth_try${try_num} # Using /qfs/people/fors729/ will result in permission denied
176+
177+ # Step 3. Run the test cases for each endpoint.
177178# Do once: https://app.globus.org/file-manager?two_pane=true > For "Collection", select the endpoint for the machine you're on, and authenticate if needed.
178179# For each line below:
179180# A. Uncomment the appropriate line
@@ -185,9 +186,12 @@ dst_dir = /home/ac.forsyth2/zstash/tests/test_globus_auth_try${try_num}
185186# - Authenticate to dst_endpoint if needed.
186187# - Provide a label
187188# - Copy the auth code to the command line
188- run_test_cases ${path_to_repo} LCRC_IMPROV_DTN_ENDPOINT ${dst_dir}
189- run_test_cases ${path_to_repo} NERSC_PERLMUTTER_ENDPOINT ${dst_dir}
190- run_test_cases ${path_to_repo} NERSC_HPSS_ENDPOINT ${dst_dir}
191- run_test_cases ${path_to_repo} PIC_COMPY_DTN_ENDPOINT ${dst_dir}
192- run_test_cases ${path_to_repo} GLOBUS_TUTORIAL_COLLECTION_1_ENDPOINT ${dst_dir}
193-
189+ # - If the test hangs: check https://app.globus.org/activity for errors.
190+ # - If you have to paste an auth code more than once, that counts as an error.
191+ # E. Cleanup
192+ # - Re-comment the line
193+ # - `rm -rf ../../../utils/globus_auth` to remove test directories
194+ run_test_cases ${path_to_repo} LCRC_IMPROV_DTN_ENDPOINT ${chrysalis_dst_dir}
195+ # run_test_cases ${path_to_repo} NERSC_PERLMUTTER_ENDPOINT ${perlmutter_dst_dir}
196+ # run_test_cases ${path_to_repo} NERSC_HPSS_ENDPOINT ${hpss_dst_dir}
197+ # run_test_cases ${path_to_repo} PIC_COMPY_DTN_ENDPOINT ${compy_dst_dir}
0 commit comments