diff options
author | Filipe David Borba Manana <fdmanana@apache.org> | 2011-08-18 06:40:39 +0000 |
---|---|---|
committer | Filipe David Borba Manana <fdmanana@apache.org> | 2011-08-18 06:40:39 +0000 |
commit | 542f2732a4240a737cac02a29e6c58d90571e742 (patch) | |
tree | fbbd3a308f925b81adabd5853b4d211011884e7b /test | |
parent | 33c0215fb3b06d814ea8c48e6f88c68833e8d1b3 (diff) |
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
Diffstat (limited to 'test')
-rwxr-xr-x | test/etap/210-os-proc-pool.t | 4 |
1 files changed, 3 insertions, 1 deletions
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."), |