blob: a45ce10984fd541a5b796b2c723f1634904f61ee [file] [log] [blame]
BjornMagnussonXA42dcb262019-04-26 19:29:54 +00001#!/bin/bash
2
3TC_ONELINE_DESCR="DFC file retention (files with SFTP and then same files overSFTP). 1MB, 5MB and 50MB using first SFTP and thenSFTP with restart of MR between each file."
4
5. ../common/testcase_common.sh $1 $2
6
7#### TEST BEGIN ####
8
9clean_containers
10
11export DR_TC="--tc normal"
12export DR_REDIR_TC="--tc normal"
13export MR_TC="--tc100"
14export BC_TC=""
15export NUM_FTPFILES="1"
16export NUM_PNFS="1"
17export FILE_SIZE="ALL"
18export FTP_TYPE="ALL"
19
20log_sim_settings
21
22start_simulators
23
24mr_equal ctr_requests 0 60
25dr_equal ctr_published_files 0 60
26
27
28start_dfc
29
30mr_equal ctr_events 1 60
31mr_contain_str tc_info "TC#100"
32dr_equal ctr_published_files 1 30
33
34
35kill_mr
36export MR_TC="--tc101"
37log_sim_settings
38start_simulators
39
40mr_print tc_info
41mr_equal ctr_events 1 60
42mr_contain_str tc_info "TC#101"
43dr_equal ctr_published_files 2 30
44
45kill_mr
46export MR_TC="--tc102"
47log_sim_settings
48start_simulators
49
50mr_print tc_info
51mr_equal ctr_events 1 60
52mr_contain_str tc_info "TC#102"
53dr_equal ctr_published_files 3 30
54
55kill_mr
56export MR_TC="--tc200"
57log_sim_settings
58start_simulators
59
60mr_print tc_info
61mr_equal ctr_events 1 60
62mr_contain_str tc_info "TC#200"
63dr_equal ctr_published_files 3 30
64
65kill_mr
66export MR_TC="--tc201"
67start_simulators
68
69
70mr_print tc_info
71mr_equal ctr_events 1 60
72mr_contain_str tc_info "TC#201"
73dr_equal ctr_published_files 3 30
74
75kill_mr
76export MR_TC="--tc202"
77start_simulators
78
79
80mr_print tc_info
81mr_equal ctr_events 1 60
82mr_contain_str tc_info "TC#202"
83dr_equal ctr_published_files 3 30
84
85
86dr_equal ctr_publish_query 3
87dr_equal ctr_publish_query_published 0
88dr_equal ctr_publish_query_not_published 3
89dr_equal ctr_publish_req 3
90dr_equal ctr_publish_req_redirect 3
91dr_equal ctr_publish_req_published 0
92dr_equal ctr_published_files 3
93dr_equal ctr_double_publish 0
94
95drr_equal ctr_publish_requests 3
96drr_equal ctr_publish_responses 3
97
98drr_equal dwl_volume 56000000
99
100check_dfc_log
101
102#### TEST COMPLETE ####
103
104store_logs END
105
106print_result