From 542f2732a4240a737cac02a29e6c58d90571e742 Mon Sep 17 00:00:00 2001 From: Filipe David Borba Manana Date: Thu, 18 Aug 2011 06:40:39 +0000 Subject: Add missing assertions to test/etap/210-os-proc-pool.t git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1159059 13f79535-47bb-0310-9956-ffa450edef68 --- test/etap/210-os-proc-pool.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/etap/210-os-proc-pool.t b/test/etap/210-os-proc-pool.t index b68d66be..d80707e8 100755 --- a/test/etap/210-os-proc-pool.t +++ b/test/etap/210-os-proc-pool.t @@ -15,7 +15,7 @@ main(_) -> test_util:init_code_path(), - etap:plan(19), + etap:plan(21), case (catch test()) of ok -> etap:end_tests(); @@ -52,6 +52,7 @@ test_pool_full() -> Proc3 = get_client_proc(Client3, "3"), etap:isnt(Proc1, Proc2, "Clients 1 and 2 got different procs."), etap:isnt(Proc2, Proc3, "Clients 2 and 3 got different procs."), + etap:isnt(Proc1, Proc3, "Clients 1 and 3 got different procs."), etap:diag("Check that client 4 blocks waiting for a process."), Client4 = spawn_client(), @@ -84,6 +85,7 @@ test_client_unexpected_exit() -> Proc3 = get_client_proc(Client3, "3"), etap:isnt(Proc1, Proc2, "Clients 1 and 2 got different procs."), etap:isnt(Proc2, Proc3, "Clients 2 and 3 got different procs."), + etap:isnt(Proc1, Proc3, "Clients 1 and 3 got different procs."), etap:diag("Check that killing a client frees an os_process."), etap:is(kill_client(Client1), ok, "Client 1 died all right."), -- cgit v1.2.3