-
Notifications
You must be signed in to change notification settings - Fork 205
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
Revert support for ASSET_\d+_URL #1988
Conversation
8c09b8f
to
46da68b
Compare
This comment has been minimized.
This comment has been minimized.
Codecov Report
@@ Coverage Diff @@
## master #1988 +/- ##
===========================================
+ Coverage 71.62% 89.07% +17.45%
===========================================
Files 132 154 +22
Lines 9617 10436 +819
===========================================
+ Hits 6888 9296 +2408
+ Misses 2729 1140 -1589
Continue to review full report at Codecov.
|
@coolo any opinions against this? |
Opinions against commented code? Yes. Don't do that. |
For the time being seems that the dynamic schedule of tests with caching seems a bit complicated. Mainly due to some tests using ASSET_\d as part of an URL and others using it as a file to be expected to be downloaded. The cache service should only treat assets as something to download. The feature introduced in os-autoinst#1855 is nice, but won't work with caching for the time being. See https://progress.opensuse.org/issues/43511
46da68b
to
b4b0c6b
Compare
@coolo :) Fixed. Now, question here:
What do you think about this? Or you would rather pick up another path? (Like not exploring it at all?) |
I suggest not to try with the current worker. |
Self merge :) Should fix the broken fix. |
@foursixnine Deleting code that does not make the tests fail is a good approach anyway ;) |
For the time being seems that the dynamic schedule of tests with
caching seems a bit complicated. Mainly due to some tests using ASSET_\d
as part of an URL and others using it as a file to be expected to be
downloaded. The cache service should only treat assets as something to
download.
The feature introduced in #1855 is nice, but won't work with caching for
the time being. See https://progress.opensuse.org/issues/43511.
Note: This
featurebroke autoyast tests :)One idea that I have is to introduce a separate ASSET_LOCAL_ for the cases when we expect the cache service to actually download the thing and link it to the worker pool.
PS: With #1943 and subsequent related pr's, we wouldn't need to specify the ASSET_X_URL, which makes all of this even easier.