Skip to content

fix: redirect postinstall script output to runtime output #2090

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Mar 10, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into fix/postinstall-output
  • Loading branch information
Bikappa authored Mar 7, 2023
commit b093ec6c1e5b51dbc6d35198ddf7dfea76128ccd
5 changes: 2 additions & 3 deletions internal/integrationtest/core/core_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ func TestCoreSearchNoArgs(t *testing.T) {
lines = append(lines, strings.Fields(strings.TrimSpace(v)))
}
// The header is printed on the first lines
// TODO: make test more resilient (no hardcoded line number)
require.Equal(t, []string{"test:x86", "2.0.0", "test_core"}, lines[21])
numPlatforms := len(lines) - 1

Expand All @@ -179,8 +178,8 @@ func TestCoreSearchNoArgs(t *testing.T) {
lines = append(lines, strings.Fields(strings.TrimSpace(v)))
}
// The header is printed on the first lines
// TODO: make test more resilient (no hardcoded line number)
require.Equal(t, []string{"test:x86", "2.0.0", "test_core"}, lines[22])

require.Equal(t, []string{"test:x86", "3.0.0", "test_core"}, lines[22])
numPlatforms = len(lines) - 1

// same thing in JSON format, also check the number of platforms found is the same
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.