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

Unit tests for propagator #25

Merged
merged 2 commits into from Nov 28, 2017
Merged

Unit tests for propagator #25

merged 2 commits into from Nov 28, 2017

Conversation

clux
Copy link
Member

@clux clux commented Nov 28, 2017

Adds a small fake dependency tree that looks like this:

prop-base
├─┬ prop-mid-1  (1-alpine) (2017-11-27 23:27:57)
│ └── prop-leaf (1-alpine) (2017-11-27 23:27:03)
└─┬ prop-mid-2  (1-alpine) (2017-11-27 23:28:34)
│ └── prop-leaf (1-alpine) (2017-11-27 23:27:03)

then tests that the propagation looks like:

Assuming prop-leaf has been updated:
Stage 1:
- update [prop-leaf] in prop-mid-1
- update [prop-leaf] in prop-mid-2
Stage 2:
- update [prop-mid-1, prop-mid-2] in prop-base

@clux
Copy link
Member Author

clux commented Nov 28, 2017

Should also cover lal status better than it currently is now that we have to recurse.

@coveralls
Copy link

Coverage Status

Coverage increased (+6.0%) to 61.16% when pulling f2fe916 on prop-tests into f982fc1 on master.

@clux clux merged commit 504be7a into master Nov 28, 2017
@clux clux deleted the prop-tests branch November 28, 2017 09:22
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

2 participants