зеркало из https://github.com/microsoft/docker.git
Skip login tests because of external dependency to a hosted service.
Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
This commit is contained in:
Родитель
9e29d65aad
Коммит
887eeb2b02
|
@ -16,6 +16,7 @@ import (
|
|||
// - Integration tests should have side-effects limited to the host environment being tested.
|
||||
|
||||
func TestLogin(t *testing.T) {
|
||||
t.Skip("FIXME: please remove dependency on external services")
|
||||
os.Setenv("DOCKER_INDEX_URL", "https://indexstaging-docker.dotcloud.com")
|
||||
defer os.Setenv("DOCKER_INDEX_URL", "")
|
||||
authConfig := ®istry.AuthConfig{
|
||||
|
@ -34,6 +35,7 @@ func TestLogin(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestCreateAccount(t *testing.T) {
|
||||
t.Skip("FIXME: please remove dependency on external services")
|
||||
tokenBuffer := make([]byte, 16)
|
||||
_, err := rand.Read(tokenBuffer)
|
||||
if err != nil {
|
||||
|
|
Загрузка…
Ссылка в новой задаче