Skip to content

Commit 9c3f19b

Browse files
authored
DisableIf-None-Match when fetching tables in benchmark scenarios (#22)
* remove header * empty string * disablecaching * remove explicit empty etag
1 parent 2196c83 commit 9c3f19b

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

benchmarks/src/gatling/scala/org/apache/polaris/benchmarks/simulations/CreateTreeDataset.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ class CreateTreeDataset extends Simulation {
149149
.baseUrl(cp.baseUrl)
150150
.acceptHeader("application/json")
151151
.contentTypeHeader("application/json")
152+
.disableCaching
152153

153154
// Get the configured throughput for tables and views
154155
private val tableThroughput = wp.createTreeDataset.tableThroughput

benchmarks/src/gatling/scala/org/apache/polaris/benchmarks/simulations/ReadTreeDataset.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ class ReadTreeDataset extends Simulation {
152152
.baseUrl(cp.baseUrl)
153153
.acceptHeader("application/json")
154154
.contentTypeHeader("application/json")
155+
.disableCaching
155156

156157
// Get the configured throughput for tables and views
157158
private val tableThroughput = wp.readTreeDataset.tableThroughput

benchmarks/src/gatling/scala/org/apache/polaris/benchmarks/simulations/ReadUpdateTreeDataset.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ class ReadUpdateTreeDataset extends Simulation {
142142
.baseUrl(cp.baseUrl)
143143
.acceptHeader("application/json")
144144
.contentTypeHeader("application/json")
145+
.disableCaching
145146

146147
// Get the configured throughput and duration
147148
private val throughput = wp.readUpdateTreeDataset.throughput

0 commit comments

Comments
 (0)