Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP system tests improvements #933

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

unclejack
Copy link
Contributor

@unclejack unclejack commented Jul 24, 2017

This PR will make some improvements to the system tests.

This PR includes the following changes right now:

  • lower the time.Sleep to 60 seconds for the Vagrant setup
  • add the l3 tests to an env var

There's no need to have such a long sleep for a Vagrant based setup. The VMs created by Vagrant aren't emulated, they're virtual machines which use hardware acceleration.

Once these changes pass and the L3 tests are fine, I'll make more changes.

@unclejack unclejack force-pushed the system_tests_improvements branch 3 times, most recently from d59a29c to e7d4d80 Compare August 1, 2017 13:52
@dseevr
Copy link
Contributor

dseevr commented Oct 12, 2017

build pr

Makefile Outdated
@@ -27,6 +27,7 @@ GOVET_CMD := go tool vet
CI_HOST_TARGETS ?= "host-unit-test host-integ-test host-build-docker-image"
SYSTEM_TESTS_TO_RUN ?= "00SSH|Basic|Network|Policy|TestTrigger|ACIM|Netprofile"
ACI_GW_IMAGE ?= "contiv/aci-gw:04-12-2017.2.2_1n"
L3_SYSTEM_TESTS_TO_RUN ?= "00SSH|Basic|Bgp|Network|Policy|TestTrigger|ACIM|Netprofile"
Copy link
Member

Choose a reason for hiding this comment

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

@unclejack, I think we should not filter the L3 tests. Instead we should run all the tests. Last time L3 tests failed because there was a change made that affected the docker service feature. L2 system tests in CI did not catch it as there were filters. Please run all the tests in L3 mode and that can be run once a day (not necessarily for commits)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@gkvijay: Thank you for taking a look at this. I'll make sure to check if the tests pass now without filters.

Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
@unclejack
Copy link
Contributor Author

@gkvijay: The BgpTriggerLinkUpDown test is failing now. Do you happen to know something about that? We've got to sort out that issue before we can enable all the tests for the L3 test run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants