Revision c1fc703c
b/snf-tools/README | ||
---|---|---|
1 |
README |
|
2 |
======= |
|
3 |
|
|
4 |
snf-burnin is an integration testing tool for a running Synnefo deployment. |
|
5 |
It runs test scenarios from the following categories: |
|
6 |
|
|
7 |
*Authentication |
|
8 |
*Images |
|
9 |
*Flavors |
|
10 |
*Servers |
|
11 |
*Networking |
b/snf-tools/conf/snf-burnin.cron.example | ||
---|---|---|
1 | 1 |
#! /bin/bash |
2 | 2 |
|
3 |
#Example script for an snf-burnin cronjob |
|
4 |
#Usage snf-burnin.cron.example TOKEN IMAGE-ID LOG-FOLDER |
|
5 |
|
|
3 | 6 |
snf-burnin --token="$1" --delete-stale |
4 | 7 |
snf-burnin --token="$1" --image-id="$2" --action-timeout 120 --log-folder "$3" |
5 | 8 |
|
9 |
#Delete old folders |
|
6 | 10 |
old=$(date -d "30 minutes ago" +%Y%m%d%H%M%S) |
7 | 11 |
for dir in ${3}/* ; do |
8 | 12 |
d=`basename $dir` |
9 | 13 |
(($d<$old)) && rm -r "$dir" |
10 | 14 |
done |
11 | 15 |
|
16 |
#Check for failed testcases |
|
12 | 17 |
curr=$(date -d "30 minutes ago" +%Y%m%d%H%M%S) |
13 | 18 |
for dir in ${3}/* ; do |
14 | 19 |
d=`basename $dir` |
Also available in: Unified diff