Skip to content

Commit 62329ce

Browse files
committed
Run both in-memory and using the tcp transport.
The latter seems to be more likely to trigger race conditions, unsurprisingly.
1 parent d1d192a commit 62329ce

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

distributed-process-tests/distributed-process-tests.cabal

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,35 @@ Test-Suite TestStats
114114
ghc-options: -Wall -eventlog -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
115115
HS-Source-Dirs: tests
116116

117+
Test-Suite TestMxInMemory
118+
Type: exitcode-stdio-1.0
119+
Main-Is: runInMemory.hs
120+
CPP-Options: -DTEST_SUITE_MODULE=Control.Distributed.Process.Tests.Mx
121+
Build-Depends: base >= 4.4 && < 5,
122+
distributed-process-tests,
123+
network >= 2.3 && < 2.7,
124+
network-transport >= 0.4.1.0 && < 0.6,
125+
network-transport-inmemory >= 0.5,
126+
test-framework >= 0.6 && < 0.9
127+
Extensions: CPP
128+
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
129+
HS-Source-Dirs: tests
130+
131+
Test-Suite TestTracingInMemory
132+
Type: exitcode-stdio-1.0
133+
Main-Is: runInMemory.hs
134+
CPP-Options: -DTEST_SUITE_MODULE=Control.Distributed.Process.Tests.Tracing
135+
Build-Depends: base >= 4.4 && < 5,
136+
distributed-process-tests,
137+
network >= 2.3 && < 2.7,
138+
network-transport >= 0.4.1.0 && < 0.6,
139+
network-transport-inmemory >= 0.5,
140+
test-framework >= 0.6 && < 0.9
141+
Extensions: CPP
142+
ghc-options: -Wall -eventlog -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
143+
HS-Source-Dirs: tests
117144

118-
Test-Suite TestMx
145+
Test-Suite TestMxInTCP
119146
Type: exitcode-stdio-1.0
120147
Main-Is: runInMemory.hs
121148
CPP-Options: -DTEST_SUITE_MODULE=Control.Distributed.Process.Tests.Mx
@@ -129,7 +156,7 @@ Test-Suite TestMx
129156
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
130157
HS-Source-Dirs: tests
131158

132-
Test-Suite TestTracing
159+
Test-Suite TestTracingInTCP
133160
Type: exitcode-stdio-1.0
134161
Main-Is: runInMemory.hs
135162
CPP-Options: -DTEST_SUITE_MODULE=Control.Distributed.Process.Tests.Tracing

0 commit comments

Comments
 (0)