File tree Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ var allModuleNames []string = func() []string {
2626 )
2727
2828 for _ , m := range allModules {
29- if ! seen [m .Name ] {
29+ if ! seen [m .Name ] && ! m . Experimental {
3030 names = append (names , m .Name )
3131 seen [m .Name ] = true
3232 }
@@ -131,12 +131,13 @@ const (
131131
132132type Module struct {
133133 simulator.Module
134- Name string
135- Pipeline Pipeline
136- NumOfHosts int
137- HeaderMsg string
138- HostMsg string
139- Timeout time.Duration
134+ Name string
135+ Pipeline Pipeline
136+ Experimental bool
137+ NumOfHosts int
138+ HeaderMsg string
139+ HostMsg string
140+ Timeout time.Duration
140141 // FailMsg string
141142 SuccessMsg string
142143}
@@ -249,13 +250,14 @@ var allModules = []Module{
249250 Timeout : 1 * time .Second ,
250251 },
251252 Module {
252- Module : simulator .NewTorSimulator (),
253- Name : "tor" ,
254- Pipeline : PipelineDNS ,
255- NumOfHosts : 5 ,
256- HeaderMsg : "Preparing Tor connection" ,
257- HostMsg : "Connecting to %s" ,
258- SuccessMsg : "Tor use is permitted in this environment" ,
253+ Module : simulator .NewTorSimulator (),
254+ Name : "tor" ,
255+ Pipeline : PipelineDNS ,
256+ Experimental : true ,
257+ NumOfHosts : 5 ,
258+ HeaderMsg : "Preparing Tor connection" ,
259+ HostMsg : "Connecting to %s" ,
260+ SuccessMsg : "Tor use is permitted in this environment" ,
259261 // FailMsg: "Couldn't contact Tor network",
260262 Timeout : 10 * time .Second ,
261263 },
You can’t perform that action at this time.
0 commit comments