8 Commits

Author SHA1 Message Date
Fabian Koller
269673ce05
DEBUG - use very long txt file 2021-01-30 14:13:03 +01:00
Fabian Koller
d9e06958dc
DEBUG - force flush 2nd try 2021-01-30 12:50:49 +01:00
Fabian Koller
063bfc245c
DEBUG - force newline in .txt 2021-01-30 12:20:55 +01:00
Fabian Koller
21c501de28
force flush on temp file during consumption
file.write() does not guarantee that a file handle contains anything
without calling an accompanying file.flush()
For typical files that are larger than the OS-file buffer, this is no
problem
For small files (e.g. 64 characters in a .TXT), this race condition
leads to `inode/x-empty` because the file inode is created, but no
content is written to it
2021-01-30 11:51:43 +01:00
Fabian Koller
29ce2515ee
Build source package in paperlessng_directory
Avoids permission problems in /tmp
2021-01-25 21:57:20 +01:00
Fabian Koller
bfbdfe857f
Simplify molecule tests
"Upgrade" path includes multiple paths anyway:
- installing the latest official release package
- builing the current PR from source
- upgrading between the two versions
2021-01-23 22:55:46 +01:00
Fabian Koller
8884a4dfdf
molecule scenario to test upgrading from releases
Provide a separate scenario to install the last release, then update to
the current one.
Also includes improved deployment verification (check if uploading a
.txt through the API works).
2021-01-18 22:51:40 +01:00
Fabian Koller
1276419ec6
Add molecule test for role
Only test default installation with jbig2enc and sqlite
2020-12-28 11:28:19 +01:00