No subject



Wed Oct 6 06:42:33 2004
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Tue, 05 Oct 2004 23:43:02 -0700
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by tigger.icir.org (8.12.11/8.12.8) with ESMTP id i966h2LZ010734
	for <atanu@tigger.icir.org>; Tue, 5 Oct 2004 23:43:02 -0700 (PDT)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (fruitcake.ICSI.Berkeley.EDU [192.150.186.11])
	by wyvern.icir.org (8.12.9p1/8.12.8) with ESMTP id i966h2hg039759
	for <atanu@icir.org>; Tue, 5 Oct 2004 23:43:02 -0700 (PDT)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (localhost [127.0.0.1])
	by fruitcake.ICSI.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id i966h1Kk021334;
	Tue, 5 Oct 2004 23:43:01 -0700 (PDT)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by fruitcake.ICSI.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id i966gYKk021311
	for <xorp-cvs@icsi.berkeley.edu>; Tue, 5 Oct 2004 23:42:34 -0700 (PDT)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
	by wyvern.icir.org (8.12.9p1/8.12.8) with ESMTP id i966gXhg039755
	for <xorp-cvs@icir.org>; Tue, 5 Oct 2004 23:42:33 -0700 (PDT)
	(envelope-from pavlin@icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
	by xorpc.icir.org (8.12.11/8.12.8) with ESMTP id i966gXJp012897
	for <xorp-cvs@icir.org>; Tue, 5 Oct 2004 23:42:33 -0700 (PDT)
	(envelope-from pavlin@xorpc.icir.org)
Received: (from pavlin@localhost)
	by xorpc.icir.org (8.12.11/8.12.3/Submit) id i966gXlw012896
	for xorp-cvs@icir.org; Wed, 6 Oct 2004 06:42:33 GMT
	(envelope-from pavlin)
Date: Wed, 6 Oct 2004 06:42:33 GMT
From: Pavlin Radoslavov <pavlin@icir.org>
Message-Id: <200410060642.i966gXlw012896@xorpc.icir.org>
To: xorp-cvs@icir.org
X-XORP-CVS-Branch: HEAD
Subject: [Xorp-cvs] XORP cvs commit: xorp/bgp
Sender: xorp-cvs-admin@icir.org
Errors-To: xorp-cvs-admin@icir.org
X-BeenThere: xorp-cvs@icir.org
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <mailto:xorp-cvs-request@icir.org?subject=help>
List-Post: <mailto:xorp-cvs@icir.org>
List-Subscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
	<mailto:xorp-cvs-request@icir.org?subject=subscribe>
List-Id: Mailing list for XORP CVS commit messages <xorp-cvs.icir.org>
List-Unsubscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
	<mailto:xorp-cvs-request@icir.org?subject=unsubscribe>

CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin@xorpc.icir.org	2004-10-06 06:42:33 UTC

XORP CVS repository


Modified files:
	bgp           test_dump.cc test_dump.reference 

Log message:
	* Rewrite test_dump to avoid single-stepping of the eventloop.
	  I.e., replace:
	
	  bgpmain.eventloop().run();
	  bgpmain.eventloop().run();
	
	  with:
	
	  while (bgpmain.eventloop().timers_pending()) {
	      bgpmain.eventloop().run();
	  }
	
	  The reason is because previously the test assumed that a single
	  call to bgpmain.eventloop().run() will envoke the callback of only
	  a single timer. The eventloop semantics does not guarantee that,
	  hence it is incorrect to make any assumptions about the number of times
	  bgpmain.eventloop().run() should be called.
	
	* Update the reference test_dump.reference file with the
	  new sample output.

Revision  Changes    Path
1.42      +35 -37    xorp/bgp/test_dump.cc
1.12      +210 -128  xorp/bgp/test_dump.reference
_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs