Skip to content

Commit ede917c

Browse files
committed
But what if we comment out print statements?
1 parent 870fff0 commit ede917c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

helper/resource/testing_new.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ func runNewTest(ctx context.Context, t testing.T, c TestCase, helper *plugintest
255255
testStepConfig = teststep.Configuration(confRequest)
256256

257257
if !step.Query {
258-
fmt.Println("Writing pre-switch configuration:", rawCfg)
258+
//fmt.Println("Writing pre-switch configuration:", rawCfg)
259259
err = wd.SetConfig(ctx, testStepConfig, step.ConfigVariables)
260260
}
261261

@@ -360,6 +360,7 @@ func runNewTest(ctx context.Context, t testing.T, c TestCase, helper *plugintest
360360
}
361361

362362
if step.Query {
363+
print("yes, this is a query step\n")
363364
logging.HelperResourceTrace(ctx, "TestStep is Query mode")
364365

365366
queryConfigRequest := teststep.ConfigurationRequest{
@@ -603,7 +604,7 @@ func testIDRefresh(ctx context.Context, t testing.T, c TestCase, wd *plugintest.
603604

604605
testStepConfigDefer := teststep.Configuration(confRequest)
605606

606-
fmt.Println("Writing the reset to original configuration:", rawCfg)
607+
//fmt.Println("Writing the reset to original configuration:", rawCfg)
607608

608609
err = wd.SetConfig(ctx, testStepConfigDefer, step.ConfigVariables)
609610

0 commit comments

Comments
 (0)