Skip to content

Commit 510e00f

Browse files
committed
Added no-compression to CI matrix
1 parent a81691d commit 510e00f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
go: [ '1.22', '1.23' ]
3838
cassandra_version: [ '4.0.13', '4.1.6' ]
3939
auth: [ "false" ]
40-
compressor: [ "snappy", "lz4" ]
40+
compressor: [ "no-compression", "snappy", "lz4" ]
4141
tags: [ "cassandra", "integration", "ccm" ]
4242
proto_version: [ "4", "5" ]
4343
exclude:
@@ -133,7 +133,7 @@ jobs:
133133
matrix:
134134
go: [ '1.22', '1.23' ]
135135
cassandra_version: [ '4.0.13' ]
136-
compressor: [ "snappy", "lz4" ]
136+
compressor: [ "no-compression", "snappy", "lz4" ]
137137
tags: [ "integration" ]
138138
proto_version: [ "4", "5" ]
139139
exclude:

common_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ var (
4848
flagAutoWait = flag.Duration("autowait", 1000*time.Millisecond, "time to wait for autodiscovery to fill the hosts poll")
4949
flagRunSslTest = flag.Bool("runssl", false, "Set to true to run ssl test")
5050
flagRunAuthTest = flag.Bool("runauth", false, "Set to true to run authentication test")
51-
flagCompressTest = flag.String("compressor", "", "compressor to use")
51+
flagCompressTest = flag.String("compressor", "no-compression", "compressor to use")
5252
flagTimeout = flag.Duration("gocql.timeout", 5*time.Second, "sets the connection `timeout` for all operations")
5353

5454
flagCassVersion cassVersion
@@ -115,7 +115,7 @@ func createCluster(opts ...func(*ClusterConfig)) *ClusterConfig {
115115
cluster.Compressor = &SnappyCompressor{}
116116
case "lz4":
117117
cluster.Compressor = &lz4.LZ4Compressor{}
118-
case "":
118+
case "no-compression":
119119
default:
120120
panic("invalid compressor: " + *flagCompressTest)
121121
}

0 commit comments

Comments
 (0)