def METHOD_NAME(client):
    print("COMMIT")
    global test_count, test_fails
    test_count = test_count + 1
    rc = client.commit()
    if rc != 0 and rc != -47:
        test_fails = test_fails + 1
        print("COMMIT TEST FAILED: ", client.error_string(rc))