blob: 9734d9714168a2b29a4c7f52d2d6164c8ce3ac56 [file] [log] [blame]
BjornMagnussonXAa79a0432019-07-17 08:26:50 +00001#!/bin/bash
2
3TC_ONELINE_DESCR="3500 1MB files from 700 PNFs in 3500 events in 5 polls using SFTP, 3 polls with change ids mapped to feeds and 2 polls not."
4
5. ../common/testcase_common.sh $1 $2
6
7#### TEST BEGIN ####
8
9clean_containers
10
11export MR_TC="--tc510"
12export MR_GROUPS="OpenDcae-c12:PM_MEAS_FILES:CTR_MEAS_FILES:LOG_FILES:TEMP_FILES"
13export MR_FILE_PREFIX_MAPPING="PM_MEAS_FILES:A,CTR_MEAS_FILES:B,LOG_FILES:C,TEMP_FILES:D"
14
15export DR_TC="--tc normal"
16export DR_FEEDS="3:A:B"
17
18export DR_REDIR_TC="--tc normal"
19export DR_REDIR_FEEDS="3:A:B"
20
21export NUM_FTPFILES="30"
22export NUM_PNFS="700"
23export FILE_SIZE="1MB"
24export FTP_TYPE="SFTP"
25export FTP_FILE_PREFIXES="A,B,C,D"
26export NUM_FTP_SERVERS=1
27
28log_sim_settings
29
30start_simulators
31
32consul_config_app 0 "../simulator-group/consul/c12_feed3_PM_CTR.json"
BjornMagnussonXAa79a0432019-07-17 08:26:50 +000033
34mr_equal ctr_requests 0 60
35dr_equal ctr_published_files 0 60
36
37mr_print tc_info
38dr_print tc_info
39drr_print tc_info
40
41start_dfc 0
42
43dr_equal ctr_published_files 2100 900
44dr_equal ctr_published_files/3 2100
45sleep_wait 30
46
47dr_equal ctr_published_files 2100
48dr_equal ctr_published_files/3 2100
49
50mr_greater ctr_requests 5
51
52mr_equal ctr_events 3500
53mr_equal ctr_unique_files 3500
54mr_equal ctr_unique_PNFs 700
55
56dr_equal ctr_publish_query 2100
57dr_equal ctr_publish_query/3 2100
58dr_equal ctr_publish_query_bad_file_prefix 0
59dr_equal ctr_publish_query_published 0
60dr_equal ctr_publish_query_not_published 2100
61dr_equal ctr_publish_query_not_published/3 2100
62dr_equal ctr_publish_req 2100
63dr_equal ctr_publish_req/3 2100
64dr_equal ctr_publish_req_bad_file_prefix 0
65dr_equal ctr_publish_req_redirect 2100
66dr_equal ctr_publish_req_redirect/3 2100
67dr_equal ctr_publish_req_published 0
68dr_equal ctr_published_files 2100
69dr_equal ctr_published_files/3 2100
70dr_equal ctr_double_publish 0
71
72drr_equal ctr_publish_requests 2100
73drr_equal ctr_publish_requests/3 2100
74drr_equal ctr_publish_requests_bad_file_prefix 0
75drr_equal ctr_publish_responses 2100
76drr_equal ctr_publish_responses/3 2100
77
78drr_equal dwl_volume 2100000000
79drr_equal dwl_volume/3 2100000000
80
81check_dfc_logs
82
83#### TEST COMPLETE ####
84
85store_logs END
86
87print_result