Skip to content

Commit 2085ea9

Browse files
authored
Small tweaks for tests
1 parent 640fa9f commit 2085ea9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ pkged.go
1212
# Test results
1313
coverage.txt
1414
coverage-filtered.txt
15+
coverage.html
1516

1617
# Development
1718
.env

tests/functional_test.go

+5
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,15 @@ import (
2626
"time"
2727

2828
"github.com/ItalyPaleAle/prvt/cmd"
29+
"github.com/ItalyPaleAle/prvt/index"
2930
)
3031

3132
// TestFunctional performs a series of functional tests on the CLI and on the server
3233
func TestFunctional(t *testing.T) {
34+
// Set some environmental variables
35+
// Lower the threshold for splitting the index into multiple chunks
36+
index.ChunkSize = 5
37+
3338
// Run the test suite
3439
suite := funcTestSuite{}
3540
suite.Run(t)

0 commit comments

Comments
 (0)