Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
rk1274 committed Sep 25, 2024
1 parent b36fafd commit 27453ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scheduler/scheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ func TestStatFile(t *testing.T) {
So(str2, ShouldNotEqual, str)
})

FocusConvey("When the jobqueue server is up", t, func() {
Convey("When the jobqueue server is up", t, func() {
config, d := prepareWrConfig(t)
defer d()
server := serve(t, config)
defer server.Stop(ctx, true)

FocusConvey("You can make a Scheduler", func() {
Convey("You can make a Scheduler", func() {
s, err := New(deployment, "", "", "", timeout, logger, false)
So(err, ShouldBeNil)
So(s, ShouldNotBeNil)
Expand Down Expand Up @@ -190,7 +190,7 @@ func TestStatFile(t *testing.T) {
So(job.Requirements.Other, ShouldResemble, map[string]string{"scheduler_queue": "foo"})
})

FocusConvey("You can make a Scheduler with queues to avoid", func() {
Convey("You can make a Scheduler with queues to avoid", func() {
s, err := New(deployment, "", "", "avoid", timeout, logger, false)
So(err, ShouldBeNil)
So(s, ShouldNotBeNil)
Expand Down

0 comments on commit 27453ab

Please sign in to comment.