diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-03 13:19:52 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-03 13:19:52 +0000 |
commit | 29c724d2a7764f83fe846b418d09540348b86983 (patch) | |
tree | dafaff8e37ba51355b22b6f38d856ae49e145006 /src/testing | |
parent | b303961f38c9b578f30248ee364ed4e5ffdcd06c (diff) | |
download | gnunet-29c724d2a7764f83fe846b418d09540348b86983.tar.gz gnunet-29c724d2a7764f83fe846b418d09540348b86983.zip |
implementing #1747
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/Makefile.am | 5 | ||||
-rw-r--r-- | src/testing/test_testing_defaults.conf | 3 | ||||
-rw-r--r-- | src/testing/testing.conf | 11 |
3 files changed, 19 insertions, 0 deletions
diff --git a/src/testing/Makefile.am b/src/testing/Makefile.am index 7e594e46e..88102e112 100644 --- a/src/testing/Makefile.am +++ b/src/testing/Makefile.am | |||
@@ -9,6 +9,11 @@ if USE_COVERAGE | |||
9 | XLIB = -lgcov | 9 | XLIB = -lgcov |
10 | endif | 10 | endif |
11 | 11 | ||
12 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
13 | |||
14 | dist_pkgcfg_DATA = \ | ||
15 | testing.conf | ||
16 | |||
12 | if HAVE_EXPENSIVE_TESTS | 17 | if HAVE_EXPENSIVE_TESTS |
13 | EXPENSIVE_TESTS = \ | 18 | EXPENSIVE_TESTS = \ |
14 | test_testing_topology_stability \ | 19 | test_testing_topology_stability \ |
diff --git a/src/testing/test_testing_defaults.conf b/src/testing/test_testing_defaults.conf index 5195882b4..c4810c303 100644 --- a/src/testing/test_testing_defaults.conf +++ b/src/testing/test_testing_defaults.conf | |||
@@ -58,3 +58,6 @@ AUTOSTART = NO | |||
58 | 58 | ||
59 | [fs] | 59 | [fs] |
60 | AUTOSTART = NO | 60 | AUTOSTART = NO |
61 | |||
62 | [dv] | ||
63 | AUTOSTART = NO | ||
diff --git a/src/testing/testing.conf b/src/testing/testing.conf new file mode 100644 index 000000000..1604ebc3a --- /dev/null +++ b/src/testing/testing.conf | |||
@@ -0,0 +1,11 @@ | |||
1 | [TESTING] | ||
2 | # How long before failing a connection? | ||
3 | CONNECT_TIMEOUT = 30 | ||
4 | # How many connect attempts should we make? | ||
5 | CONNECT_ATTEMPTS = 3 | ||
6 | # How many connections can happen simultaneously? | ||
7 | MAX_OUTSTANDING_CONNECTIONS = 50 | ||
8 | |||
9 | # Should we clean up the files on peer group shutdown? | ||
10 | DELETE_FILES = YES | ||
11 | |||