Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-58653

Simple8b Fails With Skip Encoding Size before word is created

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Execution Team 2021-07-26, Execution Team 2021-08-09

      Description

      The following test fails:
      TEST(Simple8b, LargeSkipsFirst) {
      Simple8b s8b;
      std::vector<Simple8b::Value> expectedValues;
      for(uint32_t i = 0; i < 10; i++)

      { s8b.skip(); s8b.append(64); expectedValues.push_back(\{i*2+1, 64}

      );
      } std::vector<Simple8b::Value> values = s8b.getAllInts();
      assertVectorsEqual(values, expectedValues);
      }

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jackson.xie Jackson Xie (Inactive)
              Reporter:
              luke.bhan Luke Bhan (Inactive)
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: