Skip to content

Commit c140b9b

Browse files
committed
[YottaDB/Lang/YDBGo#34] Remove no_invlnpairlist_lock_proptest test
INVLNPAIRLIST was removed from YottaDB in https://gitlab.com/YottaDB/DB/YDB/-/merge_requests/1139. As a result, the test asserting a negative condition of not failing with `INVLNPAIRLIST` does not compile anymore. Solution is to remove the test.
1 parent a1b7d94 commit c140b9b

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/simple_api/tests.rs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/****************************************************************
22
* *
3-
* Copyright (c) 2021 YottaDB LLC and/or its subsidiaries. *
3+
* Copyright (c) 2021-2022 YottaDB LLC and/or its subsidiaries. *
44
* All rights reserved. *
55
* *
66
* This source code contains the intellectual property *
@@ -735,14 +735,6 @@ proptest::proptest! {
735735
assert_eq!(s, deserialized);
736736
}
737737
#[test]
738-
fn no_invlnpairlist_lock_proptest(timeout: Duration, keys in arb_keys()) {
739-
// lock_st should never return `INVLNPAIRLIST`
740-
match lock_st(YDB_NOTTP, Vec::new(), timeout, &keys) {
741-
Err(YDBError { status: craw::YDB_ERR_INVLNPAIRLIST, .. }) => panic!("lock_st should never return YDB_ERR_INVLNPAIRLIST"),
742-
_ => {}
743-
}
744-
}
745-
#[test]
746738
// no Rust Simple API should ever return INVSTRLEN or INSUFFSUBS
747739
fn no_invalid_errors_proptest(key in arb_key(), value: Vec<u8>, b: bool) {
748740
fn assert_not_invalid<T>(res: YDBResult<T>) {

0 commit comments

Comments
 (0)