Files
moby/integration/secret
Sebastiaan van Stijn 816f3fa516 integration: remove assertAttachedStream, check both STDERR and STDOUT
This helper was not marked as t.Helper(), and didn't do a great job at
actually asserting the expected output streams. The existing checks
could've been replaced by a io.Readall to do a fuzzy check for the
response, but let's abstract away what it's doing, and properly check
both STDOUT and STDERR.

    make BIND_DIR=. TEST_FILTER='TestTemplated' DOCKER_GRAPHDRIVER=vfs test-integration
    ...
    INFO: Testing against a local daemon
    === RUN   TestTemplatedConfig
    --- PASS: TestTemplatedConfig (11.73s)
    PASS
    INFO: Testing against a local daemon
    === RUN   TestTemplatedSecret
    --- PASS: TestTemplatedSecret (11.04s)
    PASS

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-01-26 16:12:58 +01:00
..