Skip to content

Commit 2b5a245

Browse files
authored
ci: tools-2894 add tests for the evict-indexes-memory-pct and indexes-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
1 parent 99106e6 commit 2b5a245

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

testdata/cases/server71/conf-tests.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"Arguments":["convert","--aerospike-version","7.1.0.0","--format","asconfig","--output","testdata/cases/server71/server71-res-.yaml"],
77
"SkipServerTest":false,
88
"ServerErrorAllowList":null,
9-
"ServerImage":"aerospike.jfrog.io/docker-remote/aerospike/aerospike-server-enterprise-rc:7.1.0.0-rc1",
9+
"ServerImage":"aerospike.jfrog.io/docker-remote/aerospike/aerospike-server-enterprise-rc:7.1.0.0-rc3",
1010
"DockerAuth":{"Username":"ASC_DOCKER_USER","Password":"ASC_DOCKER_PASS"}
1111
}
1212
]

testdata/cases/server71/server71.conf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,12 @@ namespace ns1 {
5555

5656
storage-engine memory {
5757
data-size 32G
58-
flush-size 1M
5958
}
6059

60+
evict-indexes-memory-pct 50
61+
62+
indexes-memory-budget 2147483648
63+
6164
nsup-period 2048
6265

6366
set s1 {

testdata/cases/server71/server71.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ namespaces:
2121
stop-writes-used-pct: 70
2222
type: device
2323
- default-read-touch-ttl-pct: 50
24+
evict-indexes-memory-pct: 50
2425
evict-sys-memory-pct: 80
2526
index-type:
2627
type: shmem
28+
indexes-memory-budget: 2147483648
2729
name: ns1
2830
nsup-period: 2048
2931
replication-factor: 2
@@ -34,7 +36,6 @@ namespaces:
3436
type: shmem
3537
storage-engine:
3638
data-size: 34359738368
37-
flush-size: 1048576
3839
type: memory
3940
network:
4041
fabric:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"TestedVersion":"7.1.0.0-rc1","OriginallyUsedVersion":"7.1.0.0-rc1"}
1+
{"TestedVersion":"7.1.0.0-rc3","OriginallyUsedVersion":"7.1.0.0-rc3"}

testdata/cases/server71/yaml-tests.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"Arguments":["convert","--aerospike-version","7.1.0.0","--format","yaml","--output","testdata/cases/server71/server71-res-.conf"],
77
"SkipServerTest":false,
88
"ServerErrorAllowList":null,
9-
"ServerImage":"aerospike.jfrog.io/docker-remote/aerospike/aerospike-server-enterprise-rc:7.1.0.0-rc1",
9+
"ServerImage":"aerospike.jfrog.io/docker-remote/aerospike/aerospike-server-enterprise-rc:7.1.0.0-rc3",
1010
"DockerAuth":{"Username":"ASC_DOCKER_USER","Password":"ASC_DOCKER_PASS"}
1111
}
1212
]

0 commit comments

Comments
 (0)