Skip to content

Use faker unique method to make sure filepath is always different

Tiffany Rea requested to merge 323701-make-filepath-unique into master

What does this MR do?

To address test flakiness #323701 (closed). Having generate a random word with suffix .txt there is still a chance this word is same as the previous one causing

Fabrication of QA::Resource::Repository::Commit using the API failed (400) with `{"message":"A file with this name already exists"}`.

Explicitly calling unique to ensure uniqueness between back to back file commits.

Does this MR meet the acceptance criteria?

Conformity

Related to #323701 (closed)

Merge request reports