Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The following are negative test cases for truncate.

      • new length > old length
      • truncating a directory
      • truncating a non-existing file
      • truncating a file without write permission
      • truncating a file opened for append
      • truncating a file in safemode

      Also add more truncate tests such as truncate with HA setup, truncate with other operations and multiple truncates.

        Attachments

        1. h7738_20150204.patch
          12 kB
          Tsz Wo Nicholas Sze
        2. h7738_20150205.patch
          23 kB
          Tsz Wo Nicholas Sze
        3. h7738_20150205b.patch
          32 kB
          Tsz Wo Nicholas Sze
        4. h7738_20150206.patch
          30 kB
          Tsz Wo Nicholas Sze
        5. h7738_20150206b.patch
          30 kB
          Tsz Wo Nicholas Sze
        6. h7738_20150206c.patch
          30 kB
          Tsz Wo Nicholas Sze

          Activity

            People

            • Assignee:
              szetszwo Tsz Wo Nicholas Sze
              Reporter:
              szetszwo Tsz Wo Nicholas Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: