File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ let package = Package(
10
10
] ,
11
11
dependencies: [
12
12
// TODO: use a released version of swift-jobs
13
- . package ( url: " https://github.com/thoven87 /swift-jobs.git " , branch: " resumable-cancellable-jobs " ) ,
13
+ . package ( url: " https://github.com/hummingbird-project /swift-jobs.git " , branch: " main " ) ,
14
14
. package ( url: " https://github.com/hummingbird-project/hummingbird-postgres.git " , branch: " main " ) ,
15
15
. package ( url: " https://github.com/vapor/postgres-nio.git " , from: " 1.25.0 " ) ,
16
16
] ,
Original file line number Diff line number Diff line change @@ -762,17 +762,17 @@ final class JobsTests: XCTestCase {
762
762
expectation. fulfill ( )
763
763
}
764
764
765
- try await queue. push (
766
- TestParameters ( value: 2025 ) ,
765
+ let cancellableJob = try await queue. push (
766
+ TestParameters ( value: 42 ) ,
767
767
options: . init(
768
- priority: . highest ( )
768
+ priority: . lower ( )
769
769
)
770
770
)
771
771
772
- let cancellableJob = try await queue. push (
773
- TestParameters ( value: 42 ) ,
772
+ try await queue. push (
773
+ TestParameters ( value: 2025 ) ,
774
774
options: . init(
775
- priority: . lower ( )
775
+ priority: . highest ( )
776
776
)
777
777
)
778
778
You can’t perform that action at this time.
0 commit comments