Skip to content

Commit

Permalink
Fix travis build error
Browse files Browse the repository at this point in the history
Signed-off-by: Jun Guo <[email protected]>
  • Loading branch information
guo0693 committed Nov 22, 2019
1 parent 6539d27 commit 7e18806
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions plugin/storage/cassandra/spanstore/operation_names_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ func TestOperationNamesStorageWrite(t *testing.T) {
{name: "test new schema with 0 ttl", ttl: 0, schemaVersion: latestVersion},
{name: "test new schema with 1min ttl", ttl: time.Minute, schemaVersion: latestVersion},
} {
fmt.Printf(test.name)
t.Run(fmt.Sprintf("%s", test.name), func(t *testing.T) {
t.Run(test.name, func(t *testing.T) {
withOperationNamesStorage(test.ttl, test.schemaVersion, func(s *operationNameStorageTest) {
var execError = errors.New("exec error")
query := &mocks.Query{}
Expand Down Expand Up @@ -148,7 +147,7 @@ func TestOperationNamesStorageGetServices(t *testing.T) {
{name: "test new schema without error", schemaVersion: latestVersion, expErr: nil},
{name: "test new schema with scan error", schemaVersion: latestVersion, expErr: scanError},
} {
t.Run(fmt.Sprintf("%s", test.name), func(t *testing.T) {
t.Run(test.name, func(t *testing.T) {
withOperationNamesStorage(0, test.schemaVersion, func(s *operationNameStorageTest) {
var matched bool
matchOnce := mock.MatchedBy(func(v []interface{}) bool {
Expand Down

0 comments on commit 7e18806

Please sign in to comment.