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

[FIX] middleware/testRunner: Update resources from OpenUI5 #349

Merged
merged 2 commits into from
Sep 2, 2020

Conversation

RandomByte
Copy link
Member

No description provided.

@RandomByte
Copy link
Member Author

Not yet tested

@coveralls
Copy link

coveralls commented Aug 13, 2020

Coverage Status

Coverage increased (+0.2%) to 93.709% when pulling e3da348 on update-testrunner-resources into 612d42a on master.

@matz3 matz3 force-pushed the update-testrunner-resources branch from 0d4cc38 to f560c33 Compare September 1, 2020 07:22
@matz3 matz3 force-pushed the update-testrunner-resources branch from f560c33 to e3da348 Compare September 1, 2020 07:24
@matz3
Copy link
Member

matz3 commented Sep 1, 2020

Added a script to do the update. But I also didn't verify the changes at runtime, yet.


# Get latest commit url for src/sap.ui.core/test/sap/ui/qunit path
COMMIT_URL=$(curl "https://api.github.com/repos/SAP/openui5/commits?sha=master&path=src/sap.ui.core/test/sap/ui/qunit" | \
node -r fs -e "process.stdout.write(JSON.parse(fs.readFileSync(\"/dev/stdin\", \"utf8\"))[0].html_url)")
Copy link
Member Author

Choose a reason for hiding this comment

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

An alternative would be jq. Needs to be installed however

@matz3 matz3 self-assigned this Sep 2, 2020
@matz3
Copy link
Member

matz3 commented Sep 2, 2020

Works fine with the openui5-sample-app 👍🏻
At least when clearing the cache or after the old resources are invalidated (180s).

Why not also using ETag caching here?

@matz3
Copy link
Member

matz3 commented Sep 2, 2020

Just pushed my change for ETag caching. We can still decide if we want to enable it or stick with the 180s caching.

@matz3 matz3 force-pushed the update-testrunner-resources branch from 779f6e1 to e3da348 Compare September 2, 2020 10:26
@matz3
Copy link
Member

matz3 commented Sep 2, 2020

Extracted etag caching to #354 so that we can just merge the update.

@matz3 matz3 merged commit 55b1fe7 into master Sep 2, 2020
@matz3 matz3 deleted the update-testrunner-resources branch September 2, 2020 10:29
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.

3 participants