mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 10:58:57 +00:00
lib/scanner: Skip block size hysteresis test in -short mode
This burns like a percent of my laptop battery on every invocation...
This commit is contained in:
parent
5baa432906
commit
8b15624f7d
@ -341,6 +341,10 @@ func TestBlocksizeHysteresis(t *testing.T) {
|
||||
// Verify that we select the right block size in the presence of old
|
||||
// file information.
|
||||
|
||||
if testing.Short() {
|
||||
t.Skip("long and hard test")
|
||||
}
|
||||
|
||||
sf := fs.NewWalkFilesystem(&singleFileFS{
|
||||
name: "testfile.dat",
|
||||
filesize: 500 << 20, // 500 MiB
|
||||
|
Loading…
Reference in New Issue
Block a user