Fix broken testbed controllerlink testcase.
authorSree Harsha Totakura <totakura@in.tum.de>
Fri, 1 Jul 2016 13:08:07 +0000 (13:08 +0000)
committerSree Harsha Totakura <totakura@in.tum.de>
Fri, 1 Jul 2016 13:08:07 +0000 (13:08 +0000)
The test's configuration does not enable autostarting resolver service
and it is required for peers to be able to connect with each other,
which is what the testcase tries to do.

src/testbed/test_testbed_api_template.conf

index 35317fd1c7adf9fd8b7e0bfe402454227b284bfb..48926389bb417e53282be2dd6c9504aa61e9b172 100644 (file)
@@ -1,5 +1,6 @@
 @INLINE@ ../../contrib/no_forcestart.conf
 @INLINE@ ../../contrib/no_autostart_above_core.conf
+
 [testbed]
 AUTOSTART = NO
 PORT = 12113
@@ -19,6 +20,10 @@ ACCEPT_FROM = 127.0.0.1;
 NEIGHBOUR_LIMIT = 50
 FORCESTART = YES
 
+# Transport requires resolver when connecting to a peer, so enable it
+[resolver]
+AUTOSTART = YES
+
 [ats]
 WAN_QUOTA_OUT = 3932160
 WAN_QUOTA_IN = 3932160