Skip to content

Commit

Permalink
ci: tools-2894 add tests for the evict-indexes-memory-pct and indexes…
Browse files Browse the repository at this point in the history
…-memory-bud… (#42)

* ci: add tests for the evict-indexes-memory-pct and indexes-memory-budget configs

* ci: remove flush-size from storage engine memory server 7.1 test
  • Loading branch information
dwelch-spike authored Apr 26, 2024
1 parent 99106e6 commit 2b5a245
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion testdata/cases/server71/conf-tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"Arguments":["convert","--aerospike-version","7.1.0.0","--format","asconfig","--output","testdata/cases/server71/server71-res-.yaml"],
"SkipServerTest":false,
"ServerErrorAllowList":null,
"ServerImage":"aerospike.jfrog.io/docker-remote/aerospike/aerospike-server-enterprise-rc:7.1.0.0-rc1",
"ServerImage":"aerospike.jfrog.io/docker-remote/aerospike/aerospike-server-enterprise-rc:7.1.0.0-rc3",
"DockerAuth":{"Username":"ASC_DOCKER_USER","Password":"ASC_DOCKER_PASS"}
}
]
5 changes: 4 additions & 1 deletion testdata/cases/server71/server71.conf
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,12 @@ namespace ns1 {

storage-engine memory {
data-size 32G
flush-size 1M
}

evict-indexes-memory-pct 50

indexes-memory-budget 2147483648

nsup-period 2048

set s1 {
Expand Down
3 changes: 2 additions & 1 deletion testdata/cases/server71/server71.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ namespaces:
stop-writes-used-pct: 70
type: device
- default-read-touch-ttl-pct: 50
evict-indexes-memory-pct: 50
evict-sys-memory-pct: 80
index-type:
type: shmem
indexes-memory-budget: 2147483648
name: ns1
nsup-period: 2048
replication-factor: 2
Expand All @@ -34,7 +36,6 @@ namespaces:
type: shmem
storage-engine:
data-size: 34359738368
flush-size: 1048576
type: memory
network:
fabric:
Expand Down
2 changes: 1 addition & 1 deletion testdata/cases/server71/versions.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"TestedVersion":"7.1.0.0-rc1","OriginallyUsedVersion":"7.1.0.0-rc1"}
{"TestedVersion":"7.1.0.0-rc3","OriginallyUsedVersion":"7.1.0.0-rc3"}
2 changes: 1 addition & 1 deletion testdata/cases/server71/yaml-tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"Arguments":["convert","--aerospike-version","7.1.0.0","--format","yaml","--output","testdata/cases/server71/server71-res-.conf"],
"SkipServerTest":false,
"ServerErrorAllowList":null,
"ServerImage":"aerospike.jfrog.io/docker-remote/aerospike/aerospike-server-enterprise-rc:7.1.0.0-rc1",
"ServerImage":"aerospike.jfrog.io/docker-remote/aerospike/aerospike-server-enterprise-rc:7.1.0.0-rc3",
"DockerAuth":{"Username":"ASC_DOCKER_USER","Password":"ASC_DOCKER_PASS"}
}
]

0 comments on commit 2b5a245

Please sign in to comment.