mirror of
https://github.com/turbot/steampipe.git
synced 2025-12-19 18:12:43 -05:00
skip tests - add TODOs
This commit is contained in:
@@ -140,11 +140,11 @@ load "$LIB_BATS_SUPPORT/load.bash"
|
||||
|
||||
@test "verify cache ttl works when set in database options" {
|
||||
export STEAMPIPE_LOG=info
|
||||
cp $SRC_DATA_DIR/chaos_no_options.spc $STEAMPIPE_INSTALL_DIR/config/chaos_no_options.spc
|
||||
|
||||
# start the service
|
||||
steampipe service start
|
||||
|
||||
cp $SRC_DATA_DIR/chaos_no_options.spc $STEAMPIPE_INSTALL_DIR/config/chaos_no_options.spc
|
||||
cp $SRC_DATA_DIR/default_cache_ttl_10.spc $STEAMPIPE_INSTALL_DIR/config/default.spc
|
||||
cat $STEAMPIPE_INSTALL_DIR/config/default.spc
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@ function setup() {
|
||||
# Related to https://github.com/turbot/steampipe/issues/3112
|
||||
|
||||
@test "snapshot mode - query output csv" {
|
||||
skip "TODO with querying sql file instead of named query"
|
||||
cd $FILE_PATH/test_data/mods/functionality_test_mod
|
||||
|
||||
steampipe query query.static_query_2 --snapshot --output csv --pipes-token $SPIPETOOLS_TOKEN --snapshot-location turbot-ops/clitesting > output.csv
|
||||
@@ -44,7 +45,7 @@ function setup() {
|
||||
}
|
||||
|
||||
@test "snapshot mode - query output json" {
|
||||
skip
|
||||
skip "TODO with querying sql file instead of named query"
|
||||
cd $FILE_PATH/test_data/mods/functionality_test_mod
|
||||
|
||||
steampipe query query.static_query_2 --snapshot --output json --pipes-token $SPIPETOOLS_TOKEN --snapshot-location turbot-ops/clitesting > output.json
|
||||
@@ -74,6 +75,7 @@ function setup() {
|
||||
}
|
||||
|
||||
@test "snapshot mode - query output table" {
|
||||
skip "TODO with querying sql file instead of named query"
|
||||
cd $FILE_PATH/test_data/mods/functionality_test_mod
|
||||
|
||||
steampipe query query.static_query_2 --snapshot --output table --pipes-token $SPIPETOOLS_TOKEN --snapshot-location turbot-ops/clitesting > output.txt
|
||||
|
||||
Reference in New Issue
Block a user