mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-03 07:26:45 +00:00
Improvement: Speeding up slow tests (#707)
* Speeds up tests * Reduces time.Sleeps, lowers CreateTestBot complexity. Breaks things * Removal of unecessary config reads. Parallel tests. Lower times * Speeds up recent trades results * mini update * zoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooom * Removes the dupes * Lint * post cherrypick * Fix rare kraken data race * Fixes banking global issues. Fixes postgres trades * rmline for appveyor test * Expands timeout in event that channel is closed before send * Fix data race * No rows, no bows and definitely no shows * Removes parallel from createsnapshot tests * Extends timedmutext test a smidge. Exchange fatality * Shorter end timeframe and bigger candle
This commit is contained in:
@@ -46,9 +46,10 @@ var (
|
||||
DefaultSQLiteDatabase = "gocryptotrader.db"
|
||||
// ErrNilInstance for when a database is nil
|
||||
ErrNilInstance = errors.New("database instance is nil")
|
||||
errNilConfig = errors.New("received nil config")
|
||||
errNilSQL = errors.New("database SQL connection is nil")
|
||||
errFailedPing = errors.New("unable to verify database is connected, failed ping")
|
||||
// ErrNilConfig for when a config is nil
|
||||
ErrNilConfig = errors.New("received nil config")
|
||||
errNilSQL = errors.New("database SQL connection is nil")
|
||||
errFailedPing = errors.New("unable to verify database is connected, failed ping")
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user