Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Speed up test by reordering integration test first, then unit test #157

Merged
merged 1 commit into from
Apr 20, 2017

Conversation

thuningxu
Copy link
Contributor

@thuningxu thuningxu commented Apr 19, 2017

As the title.

@thuningxu thuningxu force-pushed the testbuild branch 3 times, most recently from 96328a6 to bdeaf69 Compare April 19, 2017 19:12
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 68.337% when pulling bdeaf69 on testbuild into b249347 on master.

@thuningxu thuningxu force-pushed the testbuild branch 2 times, most recently from a39b0f3 to 64e2660 Compare April 19, 2017 20:24
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 68.353% when pulling 64e2660 on testbuild into b249347 on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.04%) to 68.449% when pulling ca7ee67 on testbuild into b249347 on master.

Copy link
Contributor

@venkat1109 venkat1109 left a comment

Choose a reason for hiding this comment

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

Ship it after addressing comments below !

Makefile Outdated
cat $(BUILD)/"$$dir"/coverage.out | grep -v "mode: atomic" >> $(BUILD)/cover.out; \
done

cover_profile: lint cover_prepare cover_integration cover_unit
Copy link
Contributor

Choose a reason for hiding this comment

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

can you move the cover_prepare as a dep for targets cover_unit and cover_integration instead of adding that as a dep here ?

just want to make sure running make cover_unit also works

Makefile Outdated
@@ -100,20 +100,21 @@ cherami-store-tool: $(DEPS)

bins: cherami-server cherami-replicator-server cherami-cli cherami-admin cherami-replicator-tool cherami-cassandra-tool cherami-store-tool

cover_profile: lint bins
@echo Running tests:
cover_profile: lint $(DEPS)
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you still want the bins as a dep instead of DEPS

.travis.yml Outdated
@@ -71,6 +71,7 @@ install:

script:
- EMBEDROCKSDB=0 make cover_ci
Copy link
Contributor

Choose a reason for hiding this comment

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

you can just add j2 here and remove the next line (see comment below)

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 5b8c306 on testbuild into ** on master**.

@thuningxu thuningxu changed the title Speed up test by reordering integration test first, then unit test, then bins Speed up test by reordering integration test first, then unit test Apr 20, 2017
@thuningxu thuningxu merged commit c1a8a56 into master Apr 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants