summaryrefslogtreecommitdiffhomepage
path: root/runsc/container/multi_container_test.go
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2019-05-02 19:26:16 -0700
committerShentubot <shentubot@google.com>2019-05-02 19:27:27 -0700
commitc967fbdaa2cda260312f73a3f75744ac1ad11176 (patch)
tree39d916d6423100918fba8e57026baa9bfbd16ce7 /runsc/container/multi_container_test.go
parentbf40fa21292f08e66a274169ad1318e62fbc542b (diff)
runsc: move test_app in a separate directory
Opensource tools (e. g. https://github.com/fatih/vim-go) can't hanlde more than one golang package in one directory. PiperOrigin-RevId: 246435962 Change-Id: I67487915e3838762424b2d168efc54ae34fb801f
Diffstat (limited to 'runsc/container/multi_container_test.go')
-rw-r--r--runsc/container/multi_container_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/runsc/container/multi_container_test.go b/runsc/container/multi_container_test.go
index e554237cf..39c4dc03d 100644
--- a/runsc/container/multi_container_test.go
+++ b/runsc/container/multi_container_test.go
@@ -403,7 +403,7 @@ func TestMultiContainerSignal(t *testing.T) {
// TestMultiContainerDestroy checks that container are properly cleaned-up when
// they are destroyed.
func TestMultiContainerDestroy(t *testing.T) {
- app, err := testutil.FindFile("runsc/container/test_app")
+ app, err := testutil.FindFile("runsc/container/test_app/test_app")
if err != nil {
t.Fatal("error finding test_app:", err)
}
@@ -533,7 +533,7 @@ func TestMultiContainerKillAll(t *testing.T) {
{killContainer: true},
{killContainer: false},
} {
- app, err := testutil.FindFile("runsc/container/test_app")
+ app, err := testutil.FindFile("runsc/container/test_app/test_app")
if err != nil {
t.Fatal("error finding test_app:", err)
}
@@ -734,7 +734,7 @@ func TestMultiContainerDestroyStarting(t *testing.T) {
// TestMultiContainerGoferStop tests that IO operations continue to work after
// containers have been stopped and gofers killed.
func TestMultiContainerGoferStop(t *testing.T) {
- app, err := testutil.FindFile("runsc/container/test_app")
+ app, err := testutil.FindFile("runsc/container/test_app/test_app")
if err != nil {
t.Fatal("error finding test_app:", err)
}