Skip to content

Commit bdd5d63

Browse files
committed
test(integration): add multitenant ORE ordering tests for all tenant keysets
Generate 54 tests (18 per tenant × 3 keysets) covering text ASC/DESC, NULLs, qualified columns, aliases, projection, plaintext, mixed columns, simple protocol, and numeric types (int2/int4/int8/float8 ASC/DESC). Uses a macro to generate per-tenant submodules without extra dependencies.
1 parent e19d40a commit bdd5d63

File tree

3 files changed

+618
-3
lines changed

3 files changed

+618
-3
lines changed

packages/cipherstash-proxy-integration/src/map_ore_index_order.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ mod tests {
336336
let s_plaintext_two = "a";
337337
let s_plaintext_three = "b";
338338

339-
let s_enctrypted_one = "a";
339+
let s_encrypted_one = "a";
340340
let s_encrypted_two = "b";
341341
let s_encrypted_three = "c";
342342

@@ -354,7 +354,7 @@ mod tests {
354354
&s_encrypted_two,
355355
&random_id(),
356356
&s_plaintext_one,
357-
&s_enctrypted_one,
357+
&s_encrypted_one,
358358
&random_id(),
359359
&s_plaintext_three,
360360
&s_encrypted_three,
@@ -373,7 +373,7 @@ mod tests {
373373
.collect::<Vec<(&str, &str)>>();
374374

375375
let expected = vec![
376-
(s_plaintext_one, s_enctrypted_one),
376+
(s_plaintext_one, s_encrypted_one),
377377
(s_plaintext_two, s_encrypted_two),
378378
(s_plaintext_three, s_encrypted_three),
379379
];
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
mod contention;
2+
mod ore_order;
23
mod set_keyset_id;
34
mod set_keyset_name;

0 commit comments

Comments
 (0)