Commit 0e619fc9 authored by Ramon Nou's avatar Ramon Nou
Browse files

test modification

parent 07993e48
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ def test_inline_append(gkfs_daemon, gkfs_client):

    # Append data (inline)
    buf2 = b'B' * 100
    ret = gkfs_client.write(file, buf2, len(buf2)) # write with O_APPEND implies append
    ret = gkfs_client.write(file, buf2, len(buf2), 1) # write with O_APPEND
    assert ret.retval == len(buf2)

    # Verify size
@@ -101,7 +101,7 @@ def test_inline_overflow_append(gkfs_daemon, gkfs_client):

    # Append enough to overflow 4096
    buf2 = b'B' * 200
    ret = gkfs_client.write(file, buf2, len(buf2))
    ret = gkfs_client.write(file, buf2, len(buf2), 1) # Pass append flag
    assert ret.retval == len(buf2)

    # Verify size