Skip to content

Commit

Permalink
Adding more testing
Browse files Browse the repository at this point in the history
Workflow bug--
  • Loading branch information
henricasanova committed Sep 11, 2024
1 parent 8de86a7 commit 518be02
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Start wrench-daemon
run: |
wrench-daemon &
docker run -p 8101:8101 wrenchproject/wrench:unstable wrench-daemon &
#docker run -p 8101:8101 wrenchproject/wrench:unstable wrench-daemon &
#echo "PID=$!" >> $GITHUB_ENV
- name: Install the wrench Python API
run: |
Expand Down
12 changes: 12 additions & 0 deletions tests/bare_metal_compute_service_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,18 @@
task2.add_input_file(file2)
task2.add_output_file(file3)

print("Adding an entry to the file registry service, just for kicks")
frs.add_entry(ss, file1)
print("Looking up an entry to the file registry service, just for kicks")
answer = frs.lookup_entry(file1)
if answer != [ss]:
raise "Error while looking up entry in file registry service"
print("Removing an entry to the file registry service, just for kicks")
frs.remove_entry(ss, file1)
answer = frs.lookup_entry(file1)
if answer != []:
raise "Error while looking up entry in file registry service"

print("Creating a standard job with both tasks, but that doesn't specify file locations")
job = simulation.create_standard_job([task1, task2], {})

Expand Down

0 comments on commit 518be02

Please sign in to comment.