Skip to content

Conversation

@weirongw23-msft
Copy link
Member

No description provided.

@github-actions github-actions bot added the Storage Storage Service (Queues, Blobs, Files) label Nov 6, 2025
@weirongw23-msft weirongw23-msft marked this pull request as ready for review November 6, 2025 16:54
@github-actions
Copy link

API Change Check

APIView identified API level changes in this PR and created the following API reviews

azure-storage-blob

)

early = self.get_datetime_variable(variables, 'early', datetime.utcnow() - timedelta(hours=1))
late = self.get_datetime_variable(variables, 'late', datetime.utcnow() + timedelta(hours=1))
Copy link
Member

Choose a reason for hiding this comment

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

This is not a great way to test this as you are setting a date time in the future. Instead, you should create the blob, record a datetime, change the blob tier, then record another datetime. Then you can test deleting the blob with the second datetime (and it should fail because the access tier has not been modified since the second datetime) and then use the first and it should be deleted. This is for if_modified, can do something opposite for if_unmodified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Storage Storage Service (Queues, Blobs, Files)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants