Commit 698e3180 authored by liuxian9's avatar liuxian9
Browse files

Set synchronization for put request in the tests.

parent 6e011936
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -79,6 +79,7 @@ void test_Delete_should_delete_an_object_from_device(void)
    // Delete the object
    KineticEntry deleteEntry = {
        .key = KeyBuffer,
        .synchronization = KINETIC_SYNCHRONIZATION_WRITETHROUGH,
    };
    status = KineticClient_Delete(Fixture.session, &deleteEntry, NULL);
    TEST_ASSERT_EQUAL_KineticStatus(KINETIC_STATUS_SUCCESS, status);
+1 −0
Original line number Diff line number Diff line
@@ -133,6 +133,7 @@ void test_Flush_should_flush_pending_PUTs_and_DELETEs(void)
    // Do an async DELETE so we can flush to complete it
    KineticEntry deleteEntry = {
        .key = keyBuffer1,
        .synchronization = KINETIC_SYNCHRONIZATION_WRITETHROUGH,
    };
    KineticCompletionClosure no_op_closure = {
        .callback = &no_op_callback,