mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 23:01:58 +01:00
Run import test in case1
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
c0d5eeeaae
commit
208de74ae0
@ -31,6 +31,8 @@ case1() {
|
||||
docker exec "piler1" su piler -c 'php /usr/libexec/piler/generate_stats.php --webui /var/piler/www --start=2015/01/01 --stop=2021/12/31'
|
||||
|
||||
docker exec "piler1" su piler -c 'php /usr/libexec/piler/sign.php --webui /var/piler/www --mode time'
|
||||
|
||||
run_import_job "piler1"
|
||||
}
|
||||
|
||||
|
||||
@ -74,3 +76,12 @@ append_queries() {
|
||||
append_query "select * from main1,dailydelta1,delta1 WHERE MATCH('@(subject,body) New Task TSK002*')" 29
|
||||
append_query "select * from main1,dailydelta1,delta1 WHERE MATCH('@subject \"virtualfax daily summary\" | \"adsl hibajegy\"')" 11
|
||||
}
|
||||
|
||||
|
||||
run_import_job() {
|
||||
local container="$1"
|
||||
|
||||
log "${FUNCNAME[0]}"
|
||||
|
||||
docker exec "$container" su piler -c /usr/libexec/piler/import.sh
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user