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

Avoid unit test to write on source code directory #1341

Merged
merged 1 commit into from
May 26, 2017

Conversation

mudler
Copy link
Member

@mudler mudler commented May 25, 2017

Utilize Mojo::File to create specific sandboxes folders to avoid polluting source code directory with data needed for unit testing generated by local tests.

Related Progress issue: Poo#15138

@mudler mudler force-pushed the tests_overwrite_sourcedir branch from f1bc124 to 0021a88 Compare May 25, 2017 14:28
@codecov
Copy link

codecov bot commented May 25, 2017

Codecov Report

Merging #1341 into master will decrease coverage by 0.08%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1341      +/-   ##
==========================================
- Coverage   86.92%   86.84%   -0.09%     
==========================================
  Files         101      101              
  Lines        7427     7427              
==========================================
- Hits         6456     6450       -6     
- Misses        971      977       +6
Impacted Files Coverage Δ
lib/OpenQA/WebAPI/Controller/Running.pm 75.6% <0%> (-4.88%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ddbdd70...3754a45. Read the comment docs.

Utilize Mojo::File to create specific sandboxes folders to avoid polluting source code directory with data needed for unit testing generated by local tests.

Related Progress issue: https://progress.opensuse.org/issues/15138
@mudler mudler force-pushed the tests_overwrite_sourcedir branch from 0021a88 to 3754a45 Compare May 25, 2017 14:51
@coolo coolo merged commit e4c64bf into os-autoinst:master May 26, 2017
@okurz
Copy link
Member

okurz commented May 26, 2017

@mudler
Copy link
Member Author

mudler commented May 26, 2017

Not sure, this commit it's just about local tests, openQA version reported in the web interface is:

openQA is licensed GPL-2.0 - Version 4.4.1495306603.5c05c24

(Last part is the commit hash), that links to 5c05c24 , and thus should not include that commit.

Edit: are workers pulling the latest version from git? The offending commit should be : 659464d

@okurz
Copy link
Member

okurz commented May 26, 2017

Verified fixed https://openqa.opensuse.org/tests/overview?distri=openqa&version=tw-20170524&build=%3ATW.1314&groupid=24

@mudler mudler deleted the tests_overwrite_sourcedir branch August 14, 2017 14:14
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

3 participants