ENGINE-494: test was broken, not code. key attached to message had expired. sync
authorKrista Bennett <krista@pep-project.org>
Wed, 05 Dec 2018 11:58:11 +0100
branchsync
changeset 317388f03ce7a761
parent 3171 13355e5d4756
child 3174 ca08de2591b7
ENGINE-494: test was broken, not code. key attached to message had expired.
test/src/engine_tests/KeyResetMessageTests.cc
     1.1 --- a/test/src/engine_tests/KeyResetMessageTests.cc	Tue Dec 04 14:29:28 2018 +0100
     1.2 +++ b/test/src/engine_tests/KeyResetMessageTests.cc	Wed Dec 05 11:58:11 2018 +0100
     1.3 @@ -473,6 +473,9 @@
     1.4      );
     1.5      TEST_ASSERT(int_result == SQLITE_OK);
     1.6  
     1.7 +    // FIXME: longer term we need to fix the test, but the key attached to the message below has expired, so for now, we give her a new key
     1.8 +    slurp_and_import_key(session, "test_keys/pub/pep-test-gabrielle-0xE203586C_pub.asc");
     1.9 +
    1.10      status = key_reset(session, alice_fpr, from_ident);
    1.11      TEST_ASSERT_MSG((status == PEP_STATUS_OK), tl_status_string(status));
    1.12      TEST_ASSERT(m_queue.size() == 0);