test: make tests stable (#1968)
* test: make tests stable * test: fix fails
This commit is contained in:
@@ -328,9 +328,5 @@ func gzipFile(file string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
// ignore errors on remove, it most happens on unit tests,
|
||||
// it caused lots of troubles on GitHub actions.
|
||||
// and even on production, remove errors are not important.
|
||||
_ = os.Remove(file)
|
||||
return nil
|
||||
return os.Remove(file)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user