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

Fix NativeS3FileSystemContractBaseTest#testDirWithDifferentMarkersWorks

    XMLWordPrintableJSON

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

        1. HADOOP-14058-HADOOP-13345.001.patch
          0.8 kB
          Yiqun Lin
        2. HADOOP-14058.001.patch
          0.8 kB
          Yiqun Lin

        Activity

          People

            linyiqun Yiqun Lin
            aajisaka Akira Ajisaka
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: