Skip to content

Commit 3c2cda1

Browse files
authored
chore: switch to the proftest API that logs the VM output per test (#720)
1 parent 24cb220 commit 3c2cda1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

handwritten/devtools-cloudprofiler/system-test/integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ func TestAgentIntegration(t *testing.T) {
342342

343343
timeoutCtx, cancel := context.WithTimeout(ctx, tc.timeout)
344344
defer cancel()
345-
output, err := gceTr.PollForAndReturnSerialOutput(timeoutCtx, &tc.InstanceConfig, benchFinishString, errorString)
345+
output, err := gceTr.PollAndLogSerialPort(timeoutCtx, &tc.InstanceConfig, benchFinishString, errorString, t.Logf)
346346
if err != nil {
347347
t.Fatal(err)
348348
}

0 commit comments

Comments
 (0)