Skip to content

Commit

Permalink
Merge branch 'nsajko-b'
Browse files Browse the repository at this point in the history
  • Loading branch information
singularitti committed Jan 21, 2024
2 parents c501a20 + 1e19a66 commit 97d427f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion EasyJobsBase/test/async.jl
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ end
f₂() = read("file", String)
h = Job(Thunk(sleep, 3); username="me", name="h")
i = Job(Thunk(f₁, 1001); username="me", name="i")
j = ConditionalJob(Thunk(map, f₂); username="he", name="j")
j = ConditionalJob(Thunk(f₂); username="he", name="j")
[h, i] .→ j
@test !shouldrun(j)
@test_throws AssertionError run!(j)
Expand Down
3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ julia = "1"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"

[targets]
test = ["Test"]
test = ["Test", "Distributed"]
2 changes: 1 addition & 1 deletion test/async.jl
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ end
f₂() = read("file", String)
h = Job(Thunk(sleep, 3); username="me", name="h")
i = Job(Thunk(f₁, 1001); username="me", name="i")
j = ConditionalJob(Thunk(map, f₂); username="he", name="j")
j = ConditionalJob(Thunk(f₂); username="he", name="j")
[h, i] .→ j
@test !shouldrun(j)
@test_throws AssertionError run!(j)
Expand Down

0 comments on commit 97d427f

Please sign in to comment.