From a0fc7a4b46dd05b337de56ebde0ae38a52668c9c Mon Sep 17 00:00:00 2001 From: Eric Mountain Date: Mon, 7 Dec 2020 21:39:36 +0100 Subject: [PATCH] TESTING.md: Fix path the test environment conditions Signed-off-by: Eric Mountain --- TESTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TESTING.md b/TESTING.md index a1217ae0b4..bfbc1c09e3 100644 --- a/TESTING.md +++ b/TESTING.md @@ -53,7 +53,7 @@ When adding new tests or modifying existing tests under `integration/`, testing environment should be properly considered. `skip.If` from [gotest.tools/skip](https://godoc.org/gotest.tools/skip) can be used to make the test run conditionally. Full testing environment conditions can be found at -[environment.go](https://github.com/moby/moby/blob/cb37987ee11655ed6bbef663d245e55922354c68/internal/test/environment/environment.go) +[environment.go](https://github.com/moby/moby/blob/6b6eeed03b963a27085ea670f40cd5ff8a61f32e/testutil/environment/environment.go) Here is a quick example. If the test needs to interact with a docker daemon on the same host, the following condition should be checked within the test code