Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
try enabling cassandra
Browse files Browse the repository at this point in the history
  • Loading branch information
owais committed Apr 21, 2020
1 parent 02fc10e commit e8d5e72
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,20 +245,20 @@ workflows:
build_test:
jobs:
- lint_vet
# - go_test:
# name: test_cassandra
# executor: go_cassandra
# packages: "`go list ./contrib/... | grep 'gocql' | xargs`"
# after_deps:
# - dockerize_wait:
# address: tcp://localhost:9042
# timeout: 2m
- go_test:
# test all remaining contrib tests not included in the other jobs
name: test_contrib
# disable checkptr until this issue gets resolved: https://github.com/tidwall/buntdb/issues/62
options: -v -race -gcflags=all=-d=checkptr=0
packages: "`go list ./contrib/... | grep -v -P 'gocql|elastic|kafka|memcache|globalsign|mongo|redis|redigo|sql|gorm' | sed 's|github.com/signalfx/signalfx-go-tracing|.|g' | xargs`"
- go_test:
name: test_cassandra
executor: go_cassandra
packages: "`go list ./contrib/... | grep 'gocql' | xargs`"
after_deps:
- dockerize_wait:
address: tcp://localhost:9042
timeout: 2m
- go_test:
name: test_ddtrace
packages: "./ddtrace/..."
Expand Down
2 changes: 1 addition & 1 deletion contrib/gocql/gocql/gocql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ func TestChildWrapperSpan(t *testing.T) {
assert.Equal(childSpan.Tag(ext.ResourceName), "SELECT * from trace.person")
assert.Equal(childSpan.Tag(ext.CassandraKeyspace), "trace")
if iter.Host() != nil {
assert.Equal(childSpan.Tag(ext.CassandraCluster), "datacenter1")
assert.Equal(childSpan.Tag(ext.TargetPort), "9042")
assert.Equal(childSpan.Tag(ext.TargetHost), "127.0.0.1")
assert.Equal(childSpan.Tag(ext.CassandraCluster), "datacenter1")
}
}

Expand Down

0 comments on commit e8d5e72

Please sign in to comment.