Skip to content

Commit fac9413

Browse files
committed
Resolve dependency issues and update tests
1 parent a05cc68 commit fac9413

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

Gopkg.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
[[constraint]]
1414
name = "github.com/apache/thrift"
15-
version = "0.11.0"
15+
branch = "master"
1616

1717
[[constraint]]
1818
name = "github.com/aws/aws-sdk-go"

plugins/inputs/mysql/mysql_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func TestMysqlGetDSNTag(t *testing.T) {
4949
},
5050
{
5151
"tcp(localhost)/",
52-
"localhost",
52+
"localhost:3306",
5353
},
5454
{
5555
"root:passwd@tcp(192.168.1.1:3306)/?tls=false",

plugins/outputs/kinesis/kinesis_test.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func TestPartitionKey(t *testing.T) {
5959
partitionKey := k.getPartitionKey(testPoint)
6060
u, err := uuid.FromString(partitionKey)
6161
assert.Nil(err, "Issue parsing UUID")
62-
assert.Equal(uint(4), u.Version(), "PartitionKey should be UUIDv4")
62+
assert.Equal(byte(4), u.Version(), "PartitionKey should be UUIDv4")
6363

6464
k = KinesisOutput{
6565
PartitionKey: "-",
@@ -72,6 +72,5 @@ func TestPartitionKey(t *testing.T) {
7272
partitionKey = k.getPartitionKey(testPoint)
7373
u, err = uuid.FromString(partitionKey)
7474
assert.Nil(err, "Issue parsing UUID")
75-
assert.Equal(uint(4), u.Version(), "PartitionKey should be UUIDv4")
76-
75+
assert.Equal(byte(4), u.Version(), "PartitionKey should be UUIDv4")
7776
}

0 commit comments

Comments
 (0)