Skip to content

Commit 452e7cf

Browse files
authored
Additional details added on how to use
1 parent 9122817 commit 452e7cf

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,16 @@ defmodule Infra do
1818
monkeyscript_finish()
1919
end
2020

21+
# Include test and monkeyscript networking libraries
22+
use ExUnit.Case
23+
import MonkeyScript.Scripts.Networking
2124

25+
# Our custom code to restart the systems
26+
def restart_worker(...) do
27+
...
28+
end
29+
30+
# Our monkey script resiliency tests, in the form of standard unit tests
2231
test "can still hit homepage if mysql is down" do
2332
block_port(Infra, "app-server", service: "mysql") do
2433
assert true == ping(Infra, "app-server")

0 commit comments

Comments
 (0)