blob: 5f4238ef49879969b5c23e7bbcb0478b75e7e583 [file] [log] [blame]
BjornMagnussonXA42dcb262019-04-26 19:29:54 +00001#!/bin/bash
2
3TC_ONELINE_DESCR="199 file publish attempt where all calls to DR sim and DR redir sim responds after 10s delay"
4
5. ../common/testcase_common.sh $1 $2
6
7#### TEST BEGIN ####
8
9clean_containers
10
11export DR_TC="--tc all_delay_10s"
12export DR_REDIR_TC="--tc all_delay_10s"
13export MR_TC="--tc113"
14export BC_TC=""
15export NUM_FTPFILES="199"
16export NUM_PNFS="1"
17export FILE_SIZE="1MB"
18export FTP_TYPE="SFTP"
19
20log_sim_settings
21
22start_simulators
23
24mr_equal ctr_requests 0 60
25dr_equal ctr_published_files 0 60
26
27mr_print tc_info
28dr_print tc_info
29drr_print tc_info
30
31start_dfc
32
33dr_equal ctr_published_files 199 300
34
35sleep_wait 30
36
37dr_equal ctr_published_files 199
38
39mr_greater ctr_requests 1
40
41mr_equal ctr_events 100
42mr_equal ctr_unique_files 199
43mr_equal ctr_unique_PNFs 1
44
45dr_equal ctr_publish_query 199
46dr_equal ctr_publish_query_published 0
47dr_equal ctr_publish_query_not_published 199
48dr_equal ctr_publish_req 199
49dr_equal ctr_publish_req_redirect 199
50dr_equal ctr_publish_req_published 0
51dr_equal ctr_published_files 199
52dr_equal ctr_double_publish 0
53
54drr_equal ctr_publish_requests 199
55drr_equal ctr_publish_responses 199
56
57drr_equal dwl_volume 199000000
58
59check_dfc_log
60
61#### TEST COMPLETE ####
62
63store_logs END
64
65print_result