BIND 10 master, updated. bd2568ebded2746a7a6741c5b2f927392820506a [1856] Use a dummy database_file for lettuce multi_instance test
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu May 3 08:15:06 UTC 2012
The branch, master has been updated
via bd2568ebded2746a7a6741c5b2f927392820506a (commit)
from 5ffee903b4e48f34c363215668d3867c0a7f6c94 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bd2568ebded2746a7a6741c5b2f927392820506a
Author: Mukund Sivaraman <muks at isc.org>
Date: Mon Apr 30 10:03:07 2012 +0530
[1856] Use a dummy database_file for lettuce multi_instance test
-----------------------------------------------------------------------
Summary of changes:
.../multi_instance/multi_auth.config.orig | 25 +++++++++++++++++++-
tests/lettuce/features/multi_instance.feature | 7 +++++
2 files changed, 31 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
diff --git a/tests/lettuce/configurations/multi_instance/multi_auth.config.orig b/tests/lettuce/configurations/multi_instance/multi_auth.config.orig
index 53c2b7a..35b8e72 100644
--- a/tests/lettuce/configurations/multi_instance/multi_auth.config.orig
+++ b/tests/lettuce/configurations/multi_instance/multi_auth.config.orig
@@ -1 +1,24 @@
-{"version": 2, "Logging": {"loggers": [{"severity": "DEBUG", "name": "*", "debuglevel": 99}]}, "Auth": {"listen_on": [{"port": 47806, "address": "0.0.0.0"}]}, "Boss": {"components": {"b10-auth-2": {"kind": "dispensable", "special": "auth"}, "b10-auth": {"kind": "dispensable", "special": "auth"}, "b10-cmdctl": {"kind": "needed", "special": "cmdctl"}}}}
+{
+ "version": 2,
+ "Logging": {
+ "loggers": [ {
+ "debuglevel": 99,
+ "severity": "DEBUG",
+ "name": "*"
+ } ]
+ },
+ "Auth": {
+ "database_file": "data/test_nonexistent_db.sqlite3",
+ "listen_on": [ {
+ "port": 47806,
+ "address": "127.0.0.1"
+ } ]
+ },
+ "Boss": {
+ "components": {
+ "b10-auth-2": {"kind": "dispensable", "special": "auth"},
+ "b10-auth": {"kind": "dispensable", "special": "auth"},
+ "b10-cmdctl": {"kind": "needed", "special": "cmdctl"}
+ }
+ }
+}
diff --git a/tests/lettuce/features/multi_instance.feature b/tests/lettuce/features/multi_instance.feature
index 048e60e..4ce135a 100644
--- a/tests/lettuce/features/multi_instance.feature
+++ b/tests/lettuce/features/multi_instance.feature
@@ -3,6 +3,10 @@ Feature: Multiple instances
removing them does not affect the running of other instances
Scenario: Multiple instances of Auth
+ # Standard check to test (non-)existence of a file
+ # This file is actually automatically
+ The file data/test_nonexistent_db.sqlite3 should not exist
+
# This config should have two running instances
Given I have bind10 running with configuration multi_instance/multi_auth.config
And wait for bind10 stderr message BIND10_STARTED_CC
@@ -21,6 +25,9 @@ Feature: Multiple instances
And bind10 module Stats should not be running
And bind10 module StatsHttpd should not be running
+ # Now we use the first step again to see if the file has been created
+ The file data/test_nonexistent_db.sqlite3 should exist
+
A query for example.com should have rcode REFUSED
# this also checks whether the process is running
More information about the bind10-changes
mailing list