Skip to content

Commit

Permalink
Add debugging information to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MDrakos committed Oct 6, 2023
1 parent ce5244d commit 95bc4ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions installers/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ mkdir -p "$INSTALLERTMPDIR"
if [ -z "$VERSION" ]; then
# Determine the latest version to fetch.
STATEURL="$BASE_INFO_URL?channel=$CHANNEL&source=install&platform=$OS"
echo "Fetching latest version information from $STATEURL"
$FETCH $INSTALLERTMPDIR/info.json $STATEURL || exit 1

# Parse info.
Expand Down
1 change: 1 addition & 0 deletions test/integration/install_scripts_int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ func (suite *InstallScriptsIntegrationTestSuite) TestInstall() {
// Fetch it.
b, err := httputil.GetDirect(scriptUrl)
suite.Require().NoError(err)
fmt.Println("Script contents:", string(b))
script := filepath.Join(ts.Dirs.Work, scriptBaseName)
suite.Require().NoError(fileutils.WriteFile(script, b))

Expand Down

0 comments on commit 95bc4ad

Please sign in to comment.