skip tests - add TODOs

This commit is contained in:
Puskar Basu
2024-09-27 15:38:57 +05:30
parent ee8269e399
commit e3a810c6f9
2 changed files with 4 additions and 2 deletions

View File

@@ -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

View File

@@ -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