BjornMagnussonXA | 42dcb26 | 2019-04-26 19:29:54 +0000 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | TC_ONELINE_DESCR="Poll 199 new files (100 events) with 10% missing files (20 files with bad file names not existing in FTP server)" |
| 4 | |
| 5 | . ../common/testcase_common.sh $1 $2 |
| 6 | |
| 7 | #### TEST BEGIN #### |
| 8 | |
| 9 | clean_containers |
| 10 | |
| 11 | export DR_TC="--tc normal" |
| 12 | export DR_REDIR_TC="--tc normal" |
| 13 | export MR_TC="--tc121" |
| 14 | export BC_TC="" |
| 15 | export NUM_FTPFILES="199" |
| 16 | export NUM_PNFS="1" |
| 17 | export FILE_SIZE="1MB" |
| 18 | export FTP_TYPE="SFTP" |
| 19 | |
| 20 | log_sim_settings |
| 21 | |
| 22 | start_simulators |
| 23 | |
| 24 | mr_equal ctr_requests 0 60 |
| 25 | dr_equal ctr_published_files 0 60 |
| 26 | |
| 27 | mr_print tc_info |
| 28 | dr_print tc_info |
| 29 | drr_print tc_info |
| 30 | |
| 31 | start_dfc |
| 32 | |
| 33 | dr_equal ctr_published_files 179 5000 |
| 34 | |
| 35 | sleep_wait 600 |
| 36 | |
| 37 | |
| 38 | dr_equal ctr_published_files 179 |
| 39 | |
| 40 | mr_equal ctr_events 100 |
| 41 | mr_equal ctr_unique_files 179 |
| 42 | mr_equal ctr_unique_PNFs 1 |
| 43 | |
| 44 | dr_greater ctr_publish_query 179 |
| 45 | dr_equal ctr_publish_query_published 0 |
| 46 | dr_greater ctr_publish_query_not_published 179 |
| 47 | dr_equal ctr_publish_req 179 |
| 48 | dr_equal ctr_publish_req_redirect 179 |
| 49 | dr_equal ctr_publish_req_published 0 |
| 50 | dr_equal ctr_published_files 179 |
| 51 | |
| 52 | drr_equal ctr_publish_requests 179 |
| 53 | drr_equal ctr_publish_responses 179 |
| 54 | |
| 55 | drr_equal dwl_volume 179000000 |
| 56 | |
| 57 | check_dfc_log |
| 58 | |
| 59 | #### TEST COMPLETE #### |
| 60 | |
| 61 | store_logs END |
| 62 | |
| 63 | print_result |