Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Commit

Permalink
Connect to redis over tcp for CircleCI compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
albrow committed Dec 31, 2015
1 parent eef89d6 commit 3425a92
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ package jobs

import (
"fmt"
"github.com/garyburd/redigo/redis"
"reflect"
"sync"
"testing"
"time"

"github.com/garyburd/redigo/redis"
)

// setUpOnce enforces that certain pieces of the set up process only occur once,
Expand All @@ -24,8 +25,6 @@ func testingSetUp() {
// Use database 14 and a unix socket connection for testing
// TODO: allow this to be configured via command-line flags
Config.Db.Database = 14
Config.Db.Address = "/tmp/redis.sock"
Config.Db.Network = "unix"
})
// Clear out any old job types
Types = map[string]*Type{}
Expand Down

0 comments on commit 3425a92

Please sign in to comment.