X Tutup
Skip to content

[tests-only] [full-ci] Adjust testPutSingleFileLegalMtime unit test cases#40101

Merged
phil-davis merged 1 commit intomasterfrom
issue-40098
May 25, 2022
Merged

[tests-only] [full-ci] Adjust testPutSingleFileLegalMtime unit test cases#40101
phil-davis merged 1 commit intomasterfrom
issue-40098

Conversation

@phil-davis
Copy link
Contributor

@phil-davis phil-davis commented May 25, 2022

Description

See the comment blocks that I added to the test code - they explain the new maximum positive and negative values being tested.

The "too long" test cases have been removed. Some file system implementations might support storing time stamps outside of the ext4-supported time stamp ranges (positive and/or negative). We don't require that an implementation does or does not support such time stamps - the results might (and are) different on different file system implementations. So don't try to test those.

Related Issue

How Has This Been Tested?

Local unit test run on Ubuntu 22.04 with PHP 7.4.29
CI

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:
  • Changelog item, see TEMPLATE

@phil-davis phil-davis self-assigned this May 25, 2022
Copy link
Contributor

@xoxys xoxys left a comment

Choose a reason for hiding this comment

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

Thanks!

@phil-davis
Copy link
Contributor Author

https://drone.owncloud.com/owncloud/core/35849/36/5
Oracle docker image took too long to pull. Restarted.

@phil-davis
Copy link
Contributor Author

One of the pipelines got the silly yarn pkg 501 "not implemented" error - very annoying. I restarted CI again.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@phil-davis phil-davis merged commit 40551e0 into master May 25, 2022
@delete-merged-branch delete-merged-branch bot deleted the issue-40098 branch May 25, 2022 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PHP unit tests failing

3 participants

X Tutup