This is the integration test that test the publisher side with
the TCP transport.

Manually run test:

(1) Launch the DCPSInfoRepo

  ../../../../DDS/DCPSInfoRepo -o repo.ior -d domain_ids

(2) Launch the subscirber:

    FooTest3_subscriber -p pubid.txt:localhost:5555 -s 2:localhost:6666
                        -n <num_expected_messages> -v <file://PubDriver_ior_fname>
                        -l <receive_dalay_msec>

(3) Launch the publisher:

    FooTest3_publisher -DCPSInfoRepo file://repo.ior -p pubid.txt:localhost:5555 -s 2:localhost:6666
                       -t <num_threads_to_write> -w <num_writers>
                       -m <is_multiple_instance> -i <num_writes_per_thread>
                       -n <max_samples_per_instance> -d <history_depth> -y <has_key>
                       -v <PubDriver_ior_fname> -l <write_dalay_msec> -r <check_data_dropped>
                       -b <blocking_write>

    single datawriter with single instance test:

    FooTest3_publisher -DCPSInfoRepo file://repo.ior -p pubid.txt:localhost:5555 -s 2:localhost:6666 -t 5 -w 1 -m 0 -i 2 -n 12345 -d 100

    single datawriter with multiple instance tests:

    FooTest3_publisher -DCPSInfoRepo file://repo.ior -p pubid.txt:localhost:5555 -s 2:localhost:6666 -t 5 -w 1 -m 1 -i 2 -n 12345 -d 100

    multiple datawriter with multiple instance test:

    FooTest3_publisher -DCPSInfoRepo file://repo.ior -p pubid.txt:localhost:5555 -s 2:localhost:6666 -t 5 -w 4 -m 1 -i 2 -n 12345 -d 100

    No key type data writer:

    FooTest3_publisher -DCPSInfoRepo file://repo.ior -p pubid.txt:localhost:5555 -s 2:localhost:6666 -t 5 -w 4 -m 1 -i 2 -n 12345 -d 100 -y 0

    Remove sample test under backpressure:

    FooTest3_publisher -k file://repo.ior -p pubid.txt:localhost:5555 -s 2:localhost:6666 -t 1 -w 1 -i 1000 -l 0 -r 1

    Blocking write test with slow subscriber:

    FooTest3_publisher -k file://repo.ior -p pubid.txt:localhost:5555 -s 2:localhost:6666 -t 1 -w 1 -i 1000 -l 0 -r 0 -b 1

Auto run test:

    single datawriter with single instance test:

    run_test.pl

    single datawriter with multiple instance tests:

    run_test.pl mi

    multiple datawriter with multiple instance test:

    run_test.pl mw

    No key type data single writer:

    run_test_nokey.pl

    No key type data multiple writers:

    run_test_nokey.pl mw

    Remove sample test under backpressure:

    run_test.pl bp_remove

    Blocking write test with slow subscriber:

    run_test.pl b


