mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-03 15:17:25 +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
|
// Verify that we select the right block size in the presence of old
|
||||||
// file information.
|
// file information.
|
||||||
|
|
||||||
|
if testing.Short() {
|
||||||
|
t.Skip("long and hard test")
|
||||||
|
}
|
||||||
|
|
||||||
sf := fs.NewWalkFilesystem(&singleFileFS{
|
sf := fs.NewWalkFilesystem(&singleFileFS{
|
||||||
name: "testfile.dat",
|
name: "testfile.dat",
|
||||||
filesize: 500 << 20, // 500 MiB
|
filesize: 500 << 20, // 500 MiB
|
||||||
|
Loading…
Reference in New Issue
Block a user