Software /
code /
prosody
Comparison
spec/util_hashring_spec.lua @ 12794:249b01adc54a
util.hashring: tests: don't randomize order - they are written in a sequential style
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 02 Dec 2022 20:27:32 +0000 |
parent | 10007:de43ca319184 |
child | 12795:87424cbedc55 |
comparison
equal
deleted
inserted
replaced
12793:d63190a7a714 | 12794:249b01adc54a |
---|---|
1 local hashring = require "util.hashring"; | 1 local hashring = require "util.hashring"; |
2 | 2 |
3 describe("util.hashring", function () | 3 describe("util.hashring", function () |
4 randomize(false); | |
4 | 5 |
5 local sha256 = require "util.hashes".sha256; | 6 local sha256 = require "util.hashes".sha256; |
6 | 7 |
7 local ring = hashring.new(128, sha256); | 8 local ring = hashring.new(128, sha256); |
8 | 9 |