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
Fixes #1158: mofcomp rollback of test.mof fails #1944
Conversation
Please rebase since PR #1946 which fixes the Appveyor issue has been merged. |
5e02a1d
to
87add42
Compare
Suggest to rebase it, because another PR was merged that changes this area. |
87add42
to
e4e0751
Compare
e4e0751
to
0a95b16
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs to wait for resolution of comments on PR #1957.
0a95b16
to
81483d9
Compare
81483d9
to
15aca3c
Compare
Could you please rebase on master? COMMENT: KS It is up-to-date with master. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You say the PR is up to date with master, and while that is true, it still contains the commits of PR #1957 even though that PR has been merged into master. The content of these commit is different from what was merged into master, but the overall content changes of the combined four commits looks good to me.
I could deal with that by squashing these commits into one and deleting the commit messages of PR #1957, but for one, the author should be doing that and not the merger, and more importantly, there is nothing meaningful left after deleting them because the other two commits that actually fix #1158 have no meaningful commit text.
A second problem I found by looking at the single changes of the two commits from PR #1957 is that they introduce merge conflict markers, which get fixed by the the two commits. Again, the overall content changes of the combined four commits looks good to me, so the issue is only with the number of commits and the commit messages.
So please squash these commits into one, and give it a meaningful commit message.
COMMENT: All commits squashed to the single commit I want. Added test of rollback both with manual test and in test_mofcompiler.py. Added documentation on limitations as I know them today.
15aca3c
to
c719d51
Compare
Fixes issue in mof_compiler where the remove option fails to remove mof created by an earlier compile of the same file. This was primarily an issue of getting the instance paths correct on the CreateInstance. Adds a test for rollbacik to test_mofcompiler.py based on using the mocker and test.mof Adds a second manual test against a server at http://localhost that executes mof_compiler to create and rollback multiple times in two namespaces. Adds documentation on the rollback limitations to the rollback method documentation.
c719d51
to
eeff2d4
Compare
Fixes issue with mof_compiler and rolback. See commit for details