mirror of https://github.com/pulumi/pulumi.git
ec55d4c6f1
There are very few direct uses of os.Stderr and os.Stdout in our tests. Switch these to use iotest.LogWriter where appropriate, so they log messages to the appropriate testing.TB. In case of failure, these messages will be properly associated to the test/subtest that they were for instead of being printed all to stdout/stderr. Uses of os.Stdout/Stderr that were omitted: - Example tests: These don't have a testing.TB to log to. - pulumi/main_test: Replaces the global os.Stdout/Stderr in TestMain. LogWriter isn't relevant there. |
||
---|---|---|
.. | ||
integration |