Skip to content

Maintenance: Fix flaky unit tests when truncating temporary files #2210

@phipag

Description

@phipag

Summary

Depending on the (random) order of execution in junit tests truncating files should always assume that the file was not there before and catch NoSuchFileExceptions.

Why is this needed?

To avoid random failures in GitHub worklows.

Which area does this relate to?

Governance

Solution

No response

Acknowledgment

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Pending review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions