Skip to content

Commit

Permalink
adjust tests for server 7
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelch-spike committed Nov 16, 2023
1 parent cdf5383 commit f301d15
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions test/integration/aerospike.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#

service {
cluster-name asb-cluster
run-as-daemon false
work-directory ${state_directory}
pidfile ${state_directory}/asd.pid
Expand Down Expand Up @@ -70,8 +71,9 @@ network {

namespace test {
replication-factor 2
memory-size 512M
default-ttl 0
storage-engine memory
storage-engine memory {
data-size 1G
}
nsup-period 60
}
2 changes: 1 addition & 1 deletion test/integration/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def get_key_digest(set_name, key):
"""
Calculate the digest of the given key in the given set.
"""
return get_client().get_key_digest(NAMESPACE, set_name, key)
return aerospike.calc_digest(NAMESPACE, set_name, key)

def test_record(set_name, key):
"""
Expand Down

0 comments on commit f301d15

Please sign in to comment.