remove ping test
This commit is contained in:
parent
5fbe77f013
commit
29300d20ca
1 changed files with 0 additions and 17 deletions
|
@ -17,23 +17,6 @@ import org.junit.jupiter.api.Test
|
|||
|
||||
internal class UbuntuProvTest {
|
||||
|
||||
private fun Prov.ping(url: String) = def {
|
||||
xec("ping", "-c", "2", url)
|
||||
}
|
||||
|
||||
private fun Prov.outerPing() = def {
|
||||
ping("gitlab.com")
|
||||
}
|
||||
|
||||
@Test
|
||||
fun that_ping_works() {
|
||||
// when
|
||||
val res = testLocal().outerPing()
|
||||
|
||||
// then
|
||||
assert(res.success)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun that_cmd_works() {
|
||||
// given
|
||||
|
|
Loading…
Reference in a new issue