cosmos-sdk/snapshots
Alessio Treglia 8128357956
snapshots: fix flaky tests (#8475)
The use testing.T.TempDir() seems to cause test failures
in CI environvements in those cases where temporary
directories' subdirs are created with permissions that
are different from the defaults used by testing.T.TempDir().
The snapshots package's tests seem to be heavily affected,
thus this replaces testing.T.TempDir() occurrences with
ioutil.TempDir() calls.

Related upstream issue:
- https://github.com/golang/go/issues/40853

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-02-01 10:48:32 +00:00
..
types Update gogo proto deps with v1.3.2 security fixes (#8350) 2021-01-15 19:45:34 +00:00
helpers_test.go snapshots: fix flaky tests (#8475) 2021-02-01 10:48:32 +00:00
manager.go Add state sync support (#7166) 2020-09-08 09:05:44 +00:00
manager_test.go Snapshot sync: use hasher for chunk hashes (#7215) (#7259) 2020-12-10 19:02:17 +00:00
store.go Compatibility with the ARM architecture (#8396) 2021-01-27 11:07:45 +00:00
store_test.go snapshots: fix flaky tests (#8475) 2021-02-01 10:48:32 +00:00
util.go Add state sync support (#7166) 2020-09-08 09:05:44 +00:00
util_test.go test: fix data race in snapshots.ChunkReader test (#7299) 2020-09-14 14:00:08 +01:00