globalstatedb: Skip Bcrypt test if -short
Created by: keegancsmith
Bcrypt test is quite CPU intensive. On my laptop I have observed the
globalstatedb
tests take 6s when I run go test -short ./...
. This is the
only test which is this slow in short mode.
Test Plan: Ran all tests and then manually checked nothing was slow
go test -count=1 -short ./... | tee test.txt
cat test.txt | grep ^ok | sort -n -k 3