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

Snapper cleanup test based on fate#312751 #1386

Closed
wants to merge 7 commits into from

Conversation

dgutu-suse
Copy link
Contributor

Test case based on fate, real example of running test:
http://crocodile.qa.suse.cz/tests/3201

@@ -658,6 +658,7 @@ sub load_consoletests() {
}
elsif (!get_var("ZDUP") and !check_var('VERSION', '12')) { # zypper and sle12 doesn't do upgrade or installation snapshots
loadtest "console/installation_snapshots.pm";
loadtest "console/snapper_cleanup.pm";
Copy link
Member

Choose a reason for hiding this comment

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

what about a corresponding TW test? Please check if it works with a current TW snapshot and then add to the main.pm there

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I didn't checked it against TW, sorry. Let me check it.

@okurz
Copy link
Member

okurz commented May 23, 2016

@sysrich sysrich added question WIP Work in progress labels May 23, 2016
@sysrich
Copy link
Member

sysrich commented May 23, 2016

Tagging as 'question' because of the open question regarding Tumbleweed

Tagging as 'WIP' because I agree with Oliver that there is room for cleaner code in the snapper_cleanup.pm

@dgutu-suse
Copy link
Contributor Author

Last test before squash - http://crocodile.qa.suse.cz/tests/3294
Opinion?

@okurz
Copy link
Member

okurz commented May 27, 2016

opinion on what? I don't see a change in operation. I worked already perfect in before. We were just asking to squash the commits so that the two "Perltidy" become one and DRY, but no change in functionality :-)

@dgutu-suse
Copy link
Contributor Author

I didn't change nothing in the functionality, IMO now the code look better.

@dgutu-suse
Copy link
Contributor Author

👎 can't squash anymore, closing as bad experience.

@dgutu-suse dgutu-suse closed this May 27, 2016
@dgutu-suse dgutu-suse deleted the snapper_cleanup branch May 27, 2016 10:42
@okurz
Copy link
Member

okurz commented May 27, 2016

read git docu, you can actually recover from this situation, I am sure and I believe in you :-) You could for example call git reset --soft origin/master to delete all commits but keeping your changes in place and then recreate the git commit as you like. It is way easier for the reviewers to see what you did by keeping the original PR in place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question WIP Work in progress
Projects
None yet
3 participants