Skip to content

Commit b6b08e1

Browse files
committed
Add possibility to simulate network outage between nodes
1 parent 9309f7d commit b6b08e1

6 files changed

Lines changed: 1081 additions & 21 deletions

File tree

lib/mnesia/test/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ MODULES= \
5757
ext_test \
5858
ext_test_server \
5959
mnesia_index_plugin_test \
60-
mnesia_external_backend_test
60+
mnesia_external_backend_test \
61+
gen_tcp_blocking_dist
6162

6263
DocExamplesDir := ../doc/src/
6364

@@ -78,7 +79,7 @@ ExampleModules = \
7879

7980
ERL_FILES= $(MODULES:%=%.erl) $(DocExampleModules:%=$(DocExamplesDir)/%.erl) $(ExampleModules:%=$(ExamplesDir)/%.erl)
8081

81-
HRL_FILES= mnesia_test_lib.hrl ext_test_server.hrl $(DocExamplesHrl:%=$(DocExamplesDir)/%)
82+
HRL_FILES= mnesia_test_lib.hrl ext_test_server.hrl gen_tcp_blocking_dist.hrl $(DocExamplesHrl:%=$(DocExamplesDir)/%)
8283

8384
TARGET_FILES= \
8485
$(MODULES:%=$(EBIN)/%.$(EMULATOR)) $(DocExampleModules:%=$(EBIN)/%.$(EMULATOR)) $(ExampleModules:%=$(EBIN)/%.$(EMULATOR))

0 commit comments

Comments
 (0)