Skip to content

Conversation

@cpuguy83
Copy link
Member

No description provided.

@crosbymichael
Copy link
Contributor

@cpuguy83 can you please rebase this?

@cpuguy83 cpuguy83 force-pushed the remove_some_integration_tests branch 2 times, most recently from f9d52fb to 2cbdd06 Compare April 13, 2015 17:04
@cpuguy83
Copy link
Member Author

Rebased, failures are due to some bad tests on master after change to sockRequest

@cpuguy83 cpuguy83 force-pushed the remove_some_integration_tests branch 3 times, most recently from 5e8bf03 to 6dd1508 Compare April 13, 2015 18:25
@LK4D4
Copy link
Contributor

LK4D4 commented Apr 13, 2015

@cpuguy83 Haha, guess what :)

@cpuguy83 cpuguy83 force-pushed the remove_some_integration_tests branch from 6dd1508 to f356ebe Compare April 13, 2015 19:00
@cpuguy83
Copy link
Member Author

rebased again.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't you check that hostname is really set?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other test was not, certainly can.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, just looks weird without it. can be done just with "hostname" command I think.

@cpuguy83
Copy link
Member Author

@LK4D4 Updated

@icecrime icecrime removed the dco/yes label Apr 13, 2015
@LK4D4
Copy link
Contributor

LK4D4 commented Apr 13, 2015

@cpuguy83 Fail on test.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
@cpuguy83 cpuguy83 force-pushed the remove_some_integration_tests branch from 4b3f399 to 02706a4 Compare April 13, 2015 20:40
@cpuguy83
Copy link
Member Author

Fixed

@LK4D4
Copy link
Contributor

LK4D4 commented Apr 13, 2015

Lol, TestPullVerified

@icecrime icecrime removed the dco/yes label Apr 13, 2015
@icecrime icecrime changed the title Move integration/server_test tests to integreation-cli Move integration/server_test tests to integration-cli Apr 13, 2015
@icecrime
Copy link
Contributor

TBH I reviewed superficially and haven't looked in details to see if each test did exactly what it used to, but overall LGTM.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can be looped as well:

cases := []struct{
    filter string,
    expected int,
  }
  {
    {"utest*/*", 2},
    {"utest", 1},
    // ..and so on
  }

for _, c := range cases {
    if images := getImages(c.filter); len(images[0].RepoTags) != c.expected {
        t.Fatal(errMsg) // <--probably put c.filter here. also good to have something like "expected: %d, got: %d"
    }
}

@ahmetb
Copy link
Contributor

ahmetb commented Apr 14, 2015

LGTM except one suggestion. somebody should really fix that TestPullVerified on windows :D 💃

@LK4D4
Copy link
Contributor

LK4D4 commented Apr 14, 2015

LGTM

LK4D4 added a commit that referenced this pull request Apr 14, 2015
Move integration/server_test tests to integration-cli
@LK4D4 LK4D4 merged commit 676bf4a into moby:master Apr 14, 2015
@cpuguy83 cpuguy83 deleted the remove_some_integration_tests branch April 14, 2015 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants