libt2n-git Archives

Subject: C++ inter-process communication library branch, switch-to-epoll, updated. v0.7-15-gb834760

From: libt2n-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libt2n-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 26 Apr 2024 14:33:04 +0200 (CEST)
The branch, switch-to-epoll has been updated
  discards  2ed8f23cf369f51418efe15805d96ac802cdf54f (commit)
       via  b834760a457833aea3047b042f4d96680a9f3a51 (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (2ed8f23cf369f51418efe15805d96ac802cdf54f)
            \
             N -- N -- N (b834760a457833aea3047b042f4d96680a9f3a51)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.


- Log -----------------------------------------------------------------
commit b834760a457833aea3047b042f4d96680a9f3a51
Author: Gabriel Braga <gabriel.braga@xxxxxxxxxxxxx>
Date:   Fri Apr 26 14:31:25 2024 +0200

    Delete unecessary comments and fix some calls
    
    This just deletes unecessary comments and fixes some fill_bu
    calls on test/callback.cpp to half a second.

-----------------------------------------------------------------------

Summary of changes:
 test/callback.cpp |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/test/callback.cpp b/test/callback.cpp
index 354b350..0c39171 100644
--- a/test/callback.cpp
+++ b/test/callback.cpp
@@ -95,7 +95,7 @@ BOOST_AUTO_TEST_CASE(ServerNewConnCallback)
                     sc.write("ABC");
 
                     // wait half a sec
-                    sc.fill_buffer(1000);
+                    sc.fill_buffer(500);
                     sc.get_packet(data);
 
                     // close the connection
@@ -161,7 +161,7 @@ BOOST_AUTO_TEST_CASE(ServerConnClosedCallback)
                     sc.write("ABC");
 
                     // wait half a sec
-                    sc.fill_buffer(1000);
+                    sc.fill_buffer(500);
                     sc.get_packet(data);
 
                     // close the connection
@@ -226,7 +226,7 @@ BOOST_AUTO_TEST_CASE(ServerConnDeletedCallback)
                     sc.write("ABC");
 
                     // wait half a sec
-                    sc.fill_buffer(1000);
+                    sc.fill_buffer(500);
                     sc.get_packet(data);
 
                     // close the connection
@@ -295,7 +295,7 @@ BOOST_AUTO_TEST_CASE(ServerCallbackOrder)
                     sc.write("1");
 
                     // wait half a sec
-                    sc.fill_buffer(1000);
+                    sc.fill_buffer(500);
                     sc.get_packet(data);
 
                     sc.write("2");
@@ -407,7 +407,7 @@ BOOST_AUTO_TEST_CASE(ClientConnClosedCallback)
             sc.write("ABC");
 
             // wait half a sec
-            sc.fill_buffer(1000);
+            sc.fill_buffer(500);
             sc.get_packet(data);
 
             
BOOST_CHECK_EQUAL(false,static_cast<bool>(callback_done[new_connection]));


hooks/post-receive
-- 
C++ inter-process communication library

--
libt2n-git - see http://www.intra2net.com/en/developer/libt2n for details.
To unsubscribe send a mail to libt2n-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread
  • C++ inter-process communication library branch, switch-to-epoll, updated. v0.7-15-gb834760, libt2n-git <=