Skip to content

Conversation

@duglin
Copy link

@duglin duglin commented Feb 11, 2016

just so that we're not merging code into master w/o any tests at all.
I expect this to be removed once we have a real testing infrastructure.

Signed-off-by: Doug Davis [email protected]

@duglin duglin force-pushed the AddTest branch 8 times, most recently from 7f82a80 to 99a9663 Compare February 11, 2016 20:31
@cyphar
Copy link
Member

cyphar commented Feb 12, 2016

Ironically, the tests don't pass. 😸

@duglin
Copy link
Author

duglin commented Feb 12, 2016

yea its because it hangs for some reason on janky but not locally - could be a sign of an issue....

@hqhq
Copy link
Contributor

hqhq commented Feb 15, 2016

I would like to see this to be something like runc level integration test, which can test every runc command with all kinds of different configs. This is a start which is good 👍 but I don't think it's a good framework to be expanded on :(
ping @jfrazelle I thought she may be working on this too, any thoughts?

@duglin
Copy link
Author

duglin commented Feb 15, 2016

@hqhq agreed, which is why I said "I expect this to be removed once we have a real testing infrastructure."

@crosbymichael
Copy link
Member

LGTM

@LK4D4
Copy link
Contributor

LK4D4 commented Feb 27, 2016

Fairly large binary in repo for thing which will be removed :) I think download it would be lesser evil, also I think that libcontainer tests already download it somewhere.

@cyphar
Copy link
Member

cyphar commented Feb 27, 2016

+1 on downloading the tar of busybox (just steal the script from Docker). Apart from that, this looks like a good first step on improving our testing. We still need to add more tests that actually check that resource limits are enforced.

@duglin duglin force-pushed the AddTest branch 2 times, most recently from 4b0b083 to 9e73010 Compare February 29, 2016 14:41
@duglin
Copy link
Author

duglin commented Feb 29, 2016

remove the tar file - downloaded it from dockerhub instead

@duglin
Copy link
Author

duglin commented Feb 29, 2016

#600 fixes the test issue - its unrelated to this PR.

just so that we're not merging code into master w/o any tests at all.
I expect this to be removed once we have a real testing infrastructure.

Signed-off-by: Doug Davis <[email protected]>
@duglin
Copy link
Author

duglin commented Mar 7, 2016

rebased

@duglin
Copy link
Author

duglin commented Mar 8, 2016

ping @mrunalp @vbatts

@LK4D4
Copy link
Contributor

LK4D4 commented Mar 8, 2016

LGTM

crosbymichael added a commit that referenced this pull request Mar 8, 2016
Add the most basic sniff tests of runc
@crosbymichael crosbymichael merged commit 5baaa76 into opencontainers:master Mar 8, 2016
This was referenced Apr 26, 2016
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.

6 participants