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

test(GUI): fix non-running test in DrivesModel test suite #1061

Merged
merged 1 commit into from
Jan 30, 2017

Conversation

jviotti
Copy link
Contributor

@jviotti jviotti commented Jan 27, 2017

We have a test to ensure a drive is not auto-selected when its
protected, however the real functionality of this test was not being
tested given that the size the fake drive had was not enough to hold the
image.

Signed-off-by: Juan Cruz Viotti [email protected]

We have a test to ensure a drive is not auto-selected when its
protected, however the real functionality of this test was not being
tested given that the size the fake drive had was not enough to hold the
image.

Signed-off-by: Juan Cruz Viotti <[email protected]>
@jviotti jviotti merged commit ea95177 into master Jan 30, 2017
@jviotti jviotti deleted the non-running-test branch January 30, 2017 14:03
@lurch
Copy link
Contributor

lurch commented Jan 30, 2017

Related to this: presumably Etcher should also not auto-select system drives, when you've enabled 'dangerous mode'? Currently it does auto-select the system drive (when there's only one available), which IMHO doesn't "feel right"?

@jviotti
Copy link
Contributor Author

jviotti commented Jan 31, 2017

Good point. I'll send a PR for it.

jviotti pushed a commit that referenced this pull request Jan 31, 2017
Currently Etcher will auto-select a system drive if its the only
available one when the "unsafe mode" is enabled, which doesn't feel
right.

Change-Type: patch
Changelog-Entry: Don't auto select system drives in unsafe mode.
See: #1061
Signed-off-by: Juan Cruz Viotti <[email protected]>
@jviotti
Copy link
Contributor Author

jviotti commented Jan 31, 2017

See #1069

jviotti pushed a commit that referenced this pull request Feb 6, 2017
Currently Etcher will auto-select a system drive if its the only
available one when the "unsafe mode" is enabled, which doesn't feel
right.

Change-Type: patch
Changelog-Entry: Don't auto select system drives in unsafe mode.
See: #1061
Signed-off-by: Juan Cruz Viotti <[email protected]>
jviotti pushed a commit that referenced this pull request Feb 7, 2017
Currently Etcher will auto-select a system drive if its the only
available one when the "unsafe mode" is enabled, which doesn't feel
right.

Change-Type: patch
Changelog-Entry: Don't auto select system drives in unsafe mode.
See: #1061
Signed-off-by: Juan Cruz Viotti <[email protected]>
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.

2 participants