improving context timeout tests for office and merge printers + test with only one file to convert for the office printer

This commit is contained in:
Julien Neuhart
2019-07-23 16:59:32 +02:00
parent 5feff0d0ec
commit ad4d87a138
2 changed files with 13 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ func TestMergePrinter(t *testing.T) {
// should not be OK as context.Context
// should timeout.
opts = MergePrinterOptions{
WaitTimeout: 0.1,
WaitTimeout: 0.0,
}
p = NewMergePrinter(logger, fpaths, opts)
dest = printertest.GenerateDestination()