diff options
author | Paul Joseph Davis <davisp@apache.org> | 2011-04-21 01:24:38 +0000 |
---|---|---|
committer | Paul Joseph Davis <davisp@apache.org> | 2011-04-21 01:24:38 +0000 |
commit | 8ff7a1b5a20c65d8444d06709ac74b0f786c0fe4 (patch) | |
tree | a4b7d3be01fc5aff215b5601983ca6cc3cc502b5 /test | |
parent | 6f922dd546b5302db50a14e54357fefa73a1b697 (diff) |
Do not persist config values in etap tests.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1095584 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rwxr-xr-x | test/etap/030-doc-from-json.t | 2 | ||||
-rwxr-xr-x | test/etap/031-doc-to-json.t | 2 | ||||
-rwxr-xr-x | test/etap/081-config-override.t | 2 | ||||
-rwxr-xr-x | test/etap/083-config-no-files.t | 2 | ||||
-rwxr-xr-x | test/etap/113-replication-attachment-comp.t | 18 | ||||
-rwxr-xr-x | test/etap/140-attachment-comp.t | 4 |
6 files changed, 15 insertions, 15 deletions
diff --git a/test/etap/030-doc-from-json.t b/test/etap/030-doc-from-json.t index 1090fc38..b0c393ef 100755 --- a/test/etap/030-doc-from-json.t +++ b/test/etap/030-doc-from-json.t @@ -34,7 +34,7 @@ main(_) -> test() -> couch_config:start_link(test_util:config_files()), - couch_config:set("attachments", "compression_level", "0"), + couch_config:set("attachments", "compression_level", "0", false), ok = test_from_json_success(), ok = test_from_json_errors(), ok. diff --git a/test/etap/031-doc-to-json.t b/test/etap/031-doc-to-json.t index 4deeb0f2..ce950f95 100755 --- a/test/etap/031-doc-to-json.t +++ b/test/etap/031-doc-to-json.t @@ -34,7 +34,7 @@ main(_) -> test() -> couch_config:start_link(test_util:config_files()), - couch_config:set("attachments", "compression_level", "0"), + couch_config:set("attachments", "compression_level", "0", false), ok = test_to_json_success(), ok. diff --git a/test/etap/081-config-override.t b/test/etap/081-config-override.t index 01f8b4c2..95baa023 100755 --- a/test/etap/081-config-override.t +++ b/test/etap/081-config-override.t @@ -148,7 +148,7 @@ test() -> ), etap:is( - couch_config:set("httpd", "port", "8080"), + couch_config:set("httpd", "port", "8080", false), ok, "Writing {httpd, port} is kosher." ), diff --git a/test/etap/083-config-no-files.t b/test/etap/083-config-no-files.t index 675feb59..bc40ec9d 100755 --- a/test/etap/083-config-no-files.t +++ b/test/etap/083-config-no-files.t @@ -45,7 +45,7 @@ test() -> "Created a new non-persisted k/v pair." ), - ok = couch_config:set("httpd", "bind_address", "127.0.0.1"), + ok = couch_config:set("httpd", "bind_address", "127.0.0.1", false), etap:is( couch_config:get("httpd", "bind_address"), "127.0.0.1", diff --git a/test/etap/113-replication-attachment-comp.t b/test/etap/113-replication-attachment-comp.t index 1f2b63f2..e30a96bc 100755 --- a/test/etap/113-replication-attachment-comp.t +++ b/test/etap/113-replication-attachment-comp.t @@ -55,14 +55,14 @@ test() -> create_db(test_db_b_name()), % enable compression - couch_config:set("attachments", "compression_level", "8"), - couch_config:set("attachments", "compressible_types", "text/*"), + couch_config:set("attachments", "compression_level", "8", false), + couch_config:set("attachments", "compressible_types", "text/*", false), % store doc with text attachment in DB A put_text_att(test_db_a_name()), % disable attachment compression - couch_config:set("attachments", "compression_level", "0"), + couch_config:set("attachments", "compression_level", "0", false), % do pull replication do_pull_replication(test_db_a_name(), test_db_b_name()), @@ -82,14 +82,14 @@ test() -> create_db(test_db_b_name()), % enable compression - couch_config:set("attachments", "compression_level", "8"), - couch_config:set("attachments", "compressible_types", "text/*"), + couch_config:set("attachments", "compression_level", "8", false), + couch_config:set("attachments", "compressible_types", "text/*", false), % store doc with text attachment in DB A put_text_att(test_db_a_name()), % disable attachment compression - couch_config:set("attachments", "compression_level", "0"), + couch_config:set("attachments", "compression_level", "0", false), % do push replication do_push_replication(test_db_a_name(), test_db_b_name()), @@ -109,14 +109,14 @@ test() -> create_db(test_db_b_name()), % enable compression - couch_config:set("attachments", "compression_level", "8"), - couch_config:set("attachments", "compressible_types", "text/*"), + couch_config:set("attachments", "compression_level", "8", false), + couch_config:set("attachments", "compressible_types", "text/*", false), % store doc with text attachment in DB A put_text_att(test_db_a_name()), % disable attachment compression - couch_config:set("attachments", "compression_level", "0"), + couch_config:set("attachments", "compression_level", "0", false), % do local-local replication do_local_replication(test_db_a_name(), test_db_b_name()), diff --git a/test/etap/140-attachment-comp.t b/test/etap/140-attachment-comp.t index abe98432..475f4fb0 100755 --- a/test/etap/140-attachment-comp.t +++ b/test/etap/140-attachment-comp.t @@ -38,8 +38,8 @@ test() -> couch_server:delete(test_db_name(), []), couch_db:create(test_db_name(), []), - couch_config:set("attachments", "compression_level", "8"), - couch_config:set("attachments", "compressible_types", "text/*"), + couch_config:set("attachments", "compression_level", "8", false), + couch_config:set("attachments", "compressible_types", "text/*", false), create_1st_text_att(), create_1st_png_att(), |