diff --git a/.gitignore b/.gitignore index 5d95aa7..4949f71 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,7 @@ e2e/supporty/supporty .env blobsfiles ytsync_docker + +e2e/config.json + +e2e/cookies.txt diff --git a/manager/s3_storage.go b/manager/s3_storage.go index f36e216..e7447b4 100644 --- a/manager/s3_storage.go +++ b/manager/s3_storage.go @@ -84,9 +84,9 @@ func (s *Sync) downloadWallet() error { } func (s *Sync) downloadBlockchainDB() error { - //if util.IsRegTest() { - // return nil // tests fail if we re-use the same blockchain DB - //} + if util.IsRegTest() { + return nil // tests fail if we re-use the same blockchain DB + } defaultBDBPath, defaultTempBDBPath, key, err := s.getBlockchainDBPaths() if err != nil { return errors.Err(err) diff --git a/util/log_wrapper.go b/util/log_wrapper.go index 90a6a68..0d9c630 100644 --- a/util/log_wrapper.go +++ b/util/log_wrapper.go @@ -14,7 +14,7 @@ func SendErrorToSlack(format string, a ...interface{}) { message = fmt.Sprintf(format, a...) } log.Errorln(message) - err := util.SendToSlack(":sos: " + message) + err := util.SendToSlack(":sos: ```" + message + "```") if err != nil { log.Errorln(err) }