You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by fd...@apache.org on 2011/08/18 08:40:39 UTC

svn commit: r1159059 - /couchdb/branches/1.1.x/test/etap/210-os-proc-pool.t

Author: fdmanana
Date: Thu Aug 18 06:40:39 2011
New Revision: 1159059

URL: http://svn.apache.org/viewvc?rev=1159059&view=rev
Log:
Add missing assertions to test/etap/210-os-proc-pool.t

Modified:
    couchdb/branches/1.1.x/test/etap/210-os-proc-pool.t

Modified: couchdb/branches/1.1.x/test/etap/210-os-proc-pool.t
URL: http://svn.apache.org/viewvc/couchdb/branches/1.1.x/test/etap/210-os-proc-pool.t?rev=1159059&r1=1159058&r2=1159059&view=diff
==============================================================================
--- couchdb/branches/1.1.x/test/etap/210-os-proc-pool.t (original)
+++ couchdb/branches/1.1.x/test/etap/210-os-proc-pool.t Thu Aug 18 06:40:39 2011
@@ -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."),