From 83d1f65e8574f81f4d5a462f3ca4f4b9d672a871 Mon Sep 17 00:00:00 2001 From: Xian Chaobo Date: Thu, 2 Jul 2015 08:13:52 -0400 Subject: [PATCH] fix attach websocket test Signed-off-by: Xian Chaobo --- test/integration/api/attach.bats | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/integration/api/attach.bats b/test/integration/api/attach.bats index 1fb9fa2c11..71b62469ce 100644 --- a/test/integration/api/attach.bats +++ b/test/integration/api/attach.bats @@ -25,7 +25,6 @@ function teardown() { } @test "docker attach through websocket" { - skip CLIENT_API_VERSION="v1.17" start_docker_with_busybox 2 swarm_manage @@ -34,7 +33,7 @@ function teardown() { docker_swarm run -d --name test_container busybox sleep 1000 # test attach-ws api - # jimmyxian/centos7-wssh is an image with websocket CLI(WSSH) wirtten in Nodejs + # jimmyxian/centos7-wssh is an image with websocket CLI(WSSH) wirtten in Python # if connected successfull, it returns two lines, "Session Open" and "Session Closed" # Note: with stdout=1&stdin=1&stream=1: it can be used as SSH URL="ws://${SWARM_HOST}/${CLIENT_API_VERSION}/containers/test_container/attach/ws?stderr=1"