-
Notifications
You must be signed in to change notification settings - Fork 486
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
917cb5a
commit 5c2ed31
Showing
2 changed files
with
11 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,13 +69,15 @@ setup_file() { | |
assert_output --partial "SmartModule not found" | ||
} | ||
|
||
# fix CI authentication to hub service first: | ||
# https://github.com/infinyon/fluvio/issues/3634 | ||
# | ||
# Download smartmodule from hub and test it without creating a new project | ||
@test "Test external smartmodule" { | ||
run timeout 15s "$FLUVIO_BIN" hub sm download "infinyon/[email protected]" | ||
assert_success | ||
|
||
run timeout 15s "$FLUVIO_BIN" sm test \ | ||
-t '{"uses":"infinyon/[email protected]", "with": {"regex": "^f"}}' \ | ||
--text 'fluvio' | ||
assert_output --partial fluvio | ||
} | ||
# @test "Test external smartmodule" { | ||
# run timeout 15s "$FLUVIO_BIN" hub sm download "infinyon/[email protected]" | ||
# assert_success | ||
# run timeout 15s "$FLUVIO_BIN" sm test \ | ||
# -t '{"uses":"infinyon/[email protected]", "with": {"regex": "^f"}}' \ | ||
# --text 'fluvio' | ||
# assert_output --partial fluvio | ||
# } |