couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1159058 - /couchdb/trunk/test/etap/210-os-proc-pool.t
Date Thu, 18 Aug 2011 06:40:07 GMT
Author: fdmanana
Date: Thu Aug 18 06:40:07 2011
New Revision: 1159058

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

Modified:
    couchdb/trunk/test/etap/210-os-proc-pool.t

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



Mime
View raw message