Skip to content

Commit

Permalink
chore: ignore gen and build test for aggregate
Browse files Browse the repository at this point in the history
  • Loading branch information
EstebanBorai committed Jul 26, 2023
1 parent efb3031 commit e870f61
Showing 1 changed file with 22 additions and 20 deletions.
42 changes: 22 additions & 20 deletions tests/cli/smdk_smoke_tests/smdk-basic.bats
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,8 @@ setup_file() {
}

@test "Generate and build aggregate - (stable fluvio-smartmodule / with params)" {
skip "Skips aggregate due to encoding/decoding versioning for SmartModuleAggregateInput"

LABEL=default-params
SMDK_SM_TYPE=aggregate
PARAMS_FLAG=--with-params
Expand All @@ -451,26 +453,26 @@ setup_file() {

# Generate
run $SMDK_BIN generate \
$PARAMS_FLAG \
$SMDK_TEMPLATE_PATH_FLAG \
$SM_CRATE_PATH_FLAG \
$TESTING_GROUP_NAME_FLAG \
--sm-type $SMDK_SM_TYPE \
--sm-public $SMDK_SM_PUBLIC \
--silent \
$SM_PACKAGE_NAME
assert_success

# Build
cd $SM_PACKAGE_NAME
run $SMDK_BIN build
refute_output --partial "could not compile"
# Load
run $SMDK_BIN load
assert_output --partial "Creating SmartModule: $SM_PACKAGE_NAME"
assert_success
}
$PARAMS_FLAG \
$SMDK_TEMPLATE_PATH_FLAG \
$SM_CRATE_PATH_FLAG \
$TESTING_GROUP_NAME_FLAG \
--sm-type $SMDK_SM_TYPE \
--sm-public $SMDK_SM_PUBLIC \
--silent \
$SM_PACKAGE_NAME
assert_success

# Build
cd $SM_PACKAGE_NAME
run $SMDK_BIN build
refute_output --partial "could not compile"

# Load
run $SMDK_BIN load
assert_output --partial "Creating SmartModule: $SM_PACKAGE_NAME"
assert_success
}

#### Using current repo path for `fluvio-smartmodule`

Expand Down

0 comments on commit e870f61

Please sign in to comment.