Skip to content

Commit

Permalink
add server 7.1 test case
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelch-spike committed Mar 26, 2024
1 parent 6b876bf commit 4183111
Show file tree
Hide file tree
Showing 5 changed files with 175 additions and 0 deletions.
12 changes: 12 additions & 0 deletions testdata/cases/server71/conf-tests.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"Source":"testdata/cases/server71/server71.conf",
"Destination":"testdata/cases/server71/server71-res-.yaml",
"Expected":"testdata/cases/server71/server71.yaml",
"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",
"DockerAuth":{"Username":"ASC_DOCKER_USER","Password":"ASC_DOCKER_PASS"}
}
]
88 changes: 88 additions & 0 deletions testdata/cases/server71/server71.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@

service {
cluster-name cl1

user root
group root
pidfile /dummy/file/path1
}

logging {
console {
context any info
}
}

network {
service {
address any
port 3000
}

heartbeat {
mode multicast
multicast-group 127.0.0.1
port 9918




interval 150
timeout 10
}

fabric {
port 3001
}

info {
port 3003
}
}

namespace ns1 {
replication-factor 2

index-type shmem
sindex-type shmem

evict-sys-memory-pct 80

batch-max-requests 1000

default-read-touch-ttl-pct 50

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

nsup-period 2048

set s1 {
default-read-touch-ttl-pct -1
}
}

namespace ns2 {
replication-factor 2
index-type shmem
sindex-type shmem
default-read-touch-ttl-pct 0
storage-engine device {
device /dummy/mount/point1
evict-used-pct 70
stop-writes-used-pct 70
stop-writes-avail-pct 20
flush-size 10M

}

set s2 {
default-read-touch-ttl-pct 50
}
}

security {
default-password-file /dummy/file/path2
}
62 changes: 62 additions & 0 deletions testdata/cases/server71/server71.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
logging:
- any: info
name: console
namespaces:
- default-read-touch-ttl-pct: 0
index-type:
type: shmem
name: ns2
replication-factor: 2
sets:
- default-read-touch-ttl-pct: 50
name: s2
sindex-type:
type: shmem
storage-engine:
devices:
- /dummy/mount/point1
evict-used-pct: 70
flush-size: 10485760
stop-writes-avail-pct: 20
stop-writes-used-pct: 70
type: device
- batch-max-requests: 1000
default-read-touch-ttl-pct: 50
evict-sys-memory-pct: 80
index-type:
type: shmem
name: ns1
nsup-period: 2048
replication-factor: 2
sets:
- default-read-touch-ttl-pct: -1
name: s1
sindex-type:
type: shmem
storage-engine:
data-size: 34359738368
flush-size: 10485760
type: memory
network:
fabric:
port: 3001
heartbeat:
interval: 150
mode: multicast
multicast-groups:
- 127.0.0.1
port: 9918
timeout: 10
info:
port: 3003
service:
addresses:
- any
port: 3000
security:
default-password-file: /dummy/file/path2
service:
cluster-name: cl1
group: root
pidfile: /dummy/file/path1
user: root
1 change: 1 addition & 0 deletions testdata/cases/server71/versions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"TestedVersion":"7.1.0.0-rc1","OriginallyUsedVersion":"7.1.0.0-rc1"}
12 changes: 12 additions & 0 deletions testdata/cases/server71/yaml-tests.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"Source":"testdata/cases/server71/server71.yaml",
"Destination":"testdata/cases/server71/server71-res-.conf",
"Expected":"testdata/cases/server71/server71.conf",
"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",
"DockerAuth":{"Username":"ASC_DOCKER_USER","Password":"ASC_DOCKER_PASS"}
}
]

0 comments on commit 4183111

Please sign in to comment.