Skip to content

tests: check for services to be loaded before starting test#127

Merged
frisso merged 3 commits intomasterfrom
pr/fix_tests_wait_service
May 19, 2019
Merged

tests: check for services to be loaded before starting test#127
frisso merged 3 commits intomasterfrom
pr/fix_tests_wait_service

Conversation

@mbertrone
Copy link
Copy Markdown
Contributor

@mbertrone mbertrone commented May 15, 2019

This commit introduces support for checking services to be
loaded before starting the tests.

From d8d280c commit "Added new REST API and validation code", rest server is started [1] before services are loaded.
This introduces the possibility services are not yet loaded when polycubed is up and responsive and can cause tests to fail.

[1] https://github.com/polycube-network/polycube/blob/master/src/polycubed/src/polycubed.cpp#L276

@mbertrone mbertrone requested a review from a team as a code owner May 15, 2019 16:08
@mbertrone mbertrone force-pushed the pr/fix_tests_wait_service branch from 4d59934 to 9adc4ac Compare May 16, 2019 08:37
mbertrone added 3 commits May 17, 2019 08:16
this commit introduces support for checking services to be
loaded before start the tests.

Signed-off-by: Matteo Bertrone <m.bertrone@gmail.com>
Signed-off-by: Matteo Bertrone <m.bertrone@gmail.com>
this commit wants to avoid code duplication between
testing scripts

Signed-off-by: Matteo Bertrone <m.bertrone@gmail.com>
@mbertrone mbertrone force-pushed the pr/fix_tests_wait_service branch from d08c8a3 to 46d164a Compare May 17, 2019 06:34
Copy link
Copy Markdown
Contributor

@acloudiator acloudiator left a comment

Choose a reason for hiding this comment

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

/LGTM

@acloudiator acloudiator requested a review from a team May 17, 2019 21:30
@frisso frisso merged commit 743a2c0 into master May 19, 2019
@frisso frisso deleted the pr/fix_tests_wait_service branch May 19, 2019 18:45
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.

3 participants