Merge branch 'main' into snyk-fix-77c237f281fd7c49feb6d3ebec3cd74a

This commit is contained in:
Jonathan Shook 2022-04-04 13:31:42 -05:00 committed by GitHub
commit bd819f2d3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 23 additions and 3 deletions

View File

@ -7,6 +7,8 @@ scenarios:
read: run driver=dynamodb tags=block:read region=us-east-1
main: run driver=dynamodb tags=block:main region=us-east-1
read01: run driver=dynamodb tags='name:.*main-read-01' region=us-east-1
delete:
table: run driver=dynamodb tags==block:delete threads==1 cycles==UNDEF
bindings:
# for ramp-up and verify phases
@ -173,3 +175,10 @@ blocks:
ConsistentRead: true
projection: data0, data1, data2, data3, data4, data5, data6, data7
Limit: "{limit}"
- name: delete
tags:
phase: delete
ops:
delete-table:
DeleteTable: TEMPLATE(table,tabular)

View File

@ -13,6 +13,8 @@ scenarios:
schema: run driver=dynamodb tags==block:schema threads==1 cycles==UNDEF
rampup: run driver=dynamodb tags==block:rampup cycles===TEMPLATE(rampup-cycles,10000000) threads=auto
main: run driver=dynamodb tags==block:main cycles===TEMPLATE(main-cycles,10000000) threads=auto
delete:
table: run driver=dynamodb tags==block:delete threads==1 cycles==UNDEF
params:
instrument: TEMPLATE(instrument,true)
@ -82,3 +84,7 @@ blocks:
order: reverse
limit: 10
delete:
ops:
delete-table:
DeleteTable: TEMPLATE(table,timeseries)

View File

@ -38,6 +38,7 @@ Specifically, the following commands are supported as of this release:
* GetItem
* PutItem
* Query
* DeleteTable
## Examples
@ -103,4 +104,8 @@ ops:
## optionally, set an exclusive start key
# ExclusiveStartKey: key-spec
example-DeleteTable:
# the type and target of the command
# the table identifier/name (string) to delete
DeleteTable: TEMPLATE(table,timeseries)
```

View File

@ -34,7 +34,7 @@
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<version>11.0.3</version>
<version>11.0.8</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>

View File

@ -122,7 +122,7 @@
<dependency>
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-graphite</artifactId>
<version>4.1.9</version>
<version>4.2.8</version>
</dependency>
<dependency>

View File

@ -69,7 +69,7 @@
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-s3</artifactId>
<version>1.12.187</version>
<version>1.12.190</version>
</dependency>
<dependency>