Files
flatpak/tests
Colin Walters 48b5dd5e7b tests: Fix race condition in tmp webserver
I was seeing this when trying to run flatpak's tests in ostree's CI:
https://github.com/ostreedev/ostree/pull/824

The race here is that the python process can still be writing to the output
while sed is reading it, and hence we'll find a difference on the next line.
Fix this by making a tmp copy of the file, which then both sed and cmp will
read consistently.

I'm not *entirely* sure this will fix the problem as I couldn't easily reproduce
the race locally, but I believe it at least fixes *a* race.
2017-05-08 11:27:09 +02:00
..
2015-08-25 13:16:34 +02:00
2016-02-25 15:27:37 +01:00
2017-04-24 10:04:23 +02:00
2017-04-24 10:04:23 +02:00
2017-04-24 10:04:23 +02:00
2017-04-24 10:04:23 +02:00
2016-06-10 12:59:11 +02:00
2017-03-27 12:30:38 +02:00
2017-04-24 10:04:23 +02:00
2017-04-24 10:04:23 +02:00
2017-04-24 10:04:23 +02:00
2016-02-25 19:03:09 +01:00
2017-04-24 10:04:23 +02:00
2016-06-03 16:04:10 +02:00
2017-04-18 12:34:19 +02:00
2017-04-24 10:04:23 +02:00
2017-03-27 12:30:38 +02:00