Tests on GDK failing with statement timeout error
Overview
Some contributors have reported that they can't run rspec tests on their local machine as it always give them this error:
An error occurred in a `before(:suite)` hook.
Failure/Error: DatabaseCleaner.clean_with(:truncation)
ActiveRecord::QueryCanceled:
PG::QueryCanceled: ERROR: canceling statement due to statement timeout
I've been able to track down with one of the their current machine spec. I suspect it's I/O related as they are not using an SSD but and HDD. Everything else looks fine.
Environment
- Operating system: Linux
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 39 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Vendor ID: GenuineIntel
Model name: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
CPU family: 6
Model: 158
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
Stepping: 9
CPU max MHz: 3800.0000
CPU min MHz: 800.0000
BogoMIPS: 5599.85
-` skr@arch
.o+` --------
`ooo/ OS: Arch Linux x86_64
`+oooo: Host: GL553VE 1.0
`+oooooo: Kernel: 5.10.47-1-lts
-+oooooo+: Uptime: 6 days, 4 hours, 42 mins
`/:-:++oooo+: Packages: 1461 (pacman)
`/++++/+++++++: Shell: zsh 5.8
`/++++++++++++++: Resolution: 1920x1080
`/+++ooooooooooooo/` DE: Plasma 5.22.2
./ooosssso++osssssso+` WM: KWin
.oossssso-````/ossssss+` WM Theme: Oxygen
-osssssso. :ssssssso. Theme: [Plasma], Breeze [GTK2/3]
:osssssss/ osssso+++. Icons: OieIcons [Plasma], OieIcons [GTK
/ossssssss/ +ssssooo/- Terminal: alacritty
`/ossssso+/:- -:/+osssso+- CPU: Intel i7-7700HQ (8) @ 3.800GHz
`+sso+:-` `.-/+oso: GPU: Intel HD Graphics 630
`++:. `-/+/ GPU: NVIDIA GeForce GTX 1050 Ti Mobile
.` `/ Memory: 9391MiB / 15887MiB
Edited by Gabriel Mazetto