Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14058

Fix NativeS3FileSystemContractBaseTest#testDirWithDifferentMarkersWorks

    Details

      Description

      In NativeS3FileSystemContractBaseTest#testDirWithDifferentMarkersWorks,

            else if (i == 3) {
              // test both markers
              store.storeEmptyFile(base + "_$folder$");
              store.storeEmptyFile(base + "/dir_$folder$");
              store.storeEmptyFile(base + "/");
              store.storeEmptyFile(base + "/dir/");
            }
      

      the above test code is not executed. In the following code:

          for (int i = 0; i < 3; i++) {
      

      < should be <=.

        Attachments

          Activity

            People

            • Assignee:
              linyiqun Yiqun Lin
              Reporter:
              ajisakaa Akira Ajisaka
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: