diff options
author | pradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-07-16 20:29:51 +0000 |
---|---|---|
committer | pradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-07-16 20:29:51 +0000 |
commit | b1afb89c56c968fd9af25bda88e6b7c84de21377 (patch) | |
tree | c63fdc62097b6cb9f4bf48d74077c667975a0c30 /TAO/orbsvcs/tests/Notify/Discarding/Sequence_Supplier.cpp | |
parent | 42199254ddc2c0383df0270a677c411cd44b5dd7 (diff) | |
download | ATCD-b1afb89c56c968fd9af25bda88e6b7c84de21377.tar.gz |
ChangeLogTag: Wed Jul 16 16:28:47 2003 Pradeep Gore <pradeep@oomworks.com>
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/Discarding/Sequence_Supplier.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/Notify/Discarding/Sequence_Supplier.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/TAO/orbsvcs/tests/Notify/Discarding/Sequence_Supplier.cpp b/TAO/orbsvcs/tests/Notify/Discarding/Sequence_Supplier.cpp index d7d7daa05c2..427fc996aea 100644 --- a/TAO/orbsvcs/tests/Notify/Discarding/Sequence_Supplier.cpp +++ b/TAO/orbsvcs/tests/Notify/Discarding/Sequence_Supplier.cpp @@ -25,7 +25,8 @@ static TAO_Notify_Tests_SequencePushSupplier* supplier_1 = 0; static CORBA::Boolean done = 0; static CORBA::Boolean start = 0; static CORBA::Boolean use_deadline_ordering = 0; -static int max_events = 6; // 6 sets of 16 +static int max_events = 2; // 2 sets of 10 +static int batch_size = 10; static const char* ior_output_file = "supplier.ior"; // ****************************************************************** @@ -152,11 +153,11 @@ SendEvents (void) event.filterable_data[2].name = CORBA::string_dup ("enum"); event.filterable_data[2].value <<= (CORBA::ULong)count; - events.length (16); + events.length (batch_size); events[0] = event; - CosNotification::StructuredEvent revents[15]; - for (int z = 0; z < 15; z++) + CosNotification::StructuredEvent revents[9]; + for (int z = 0; z < 9; z++) { revents[z].header.fixed_header.event_type.domain_name = CORBA::string_dup ("Orbix 2000 Demos"); |