mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #5000 from shykes/skip-login-tests
Skip login tests because of external dependency to a hosted service.
This commit is contained in:
commit
55729ab4cb
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,7 @@ import (
|
||||||
// - Integration tests should have side-effects limited to the host environment being tested.
|
// - Integration tests should have side-effects limited to the host environment being tested.
|
||||||
|
|
||||||
func TestLogin(t *testing.T) {
|
func TestLogin(t *testing.T) {
|
||||||
|
t.Skip("FIXME: please remove dependency on external services")
|
||||||
os.Setenv("DOCKER_INDEX_URL", "https://indexstaging-docker.dotcloud.com")
|
os.Setenv("DOCKER_INDEX_URL", "https://indexstaging-docker.dotcloud.com")
|
||||||
defer os.Setenv("DOCKER_INDEX_URL", "")
|
defer os.Setenv("DOCKER_INDEX_URL", "")
|
||||||
authConfig := ®istry.AuthConfig{
|
authConfig := ®istry.AuthConfig{
|
||||||
|
@ -34,6 +35,7 @@ func TestLogin(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestCreateAccount(t *testing.T) {
|
func TestCreateAccount(t *testing.T) {
|
||||||
|
t.Skip("FIXME: please remove dependency on external services")
|
||||||
tokenBuffer := make([]byte, 16)
|
tokenBuffer := make([]byte, 16)
|
||||||
_, err := rand.Read(tokenBuffer)
|
_, err := rand.Read(tokenBuffer)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue