Skip to content

Commit

Permalink
test: fix VertxDSLTest not failing if the service did not respond to …
Browse files Browse the repository at this point in the history
…the client requests
  • Loading branch information
jahrim committed Jun 21, 2023
1 parent 20db271 commit 4e32754
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class VertxDSLTest extends AbstractTest:
request[Boolean]("http/isOn", null)
.map(message => message.body)
.await
.getOrElse(false)
.getOrElse { fail() }
assert(!isOn)
}
}
Expand All @@ -40,7 +40,7 @@ class VertxDSLTest extends AbstractTest:
request[Boolean]("mqtt/isOn", null)
.map(message => message.body)
.await
.getOrElse(false)
.getOrElse { fail() }
assert(isOn)
}
}
Expand Down

0 comments on commit 4e32754

Please sign in to comment.