Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-304

Failed getmore halts for 30seconds

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.0.0-alpha1
    • Affects Version/s: 0.6.3
    • Component/s: None
    • None

      --TEST--
      MongoDB\Driver\Cursor: Failing getmore
      --SKIPIF--
      <?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
      <?php CLEANUP(STANDALONE); LOAD(STANDALONE); ?>
      --FILE--
      <?php
      require_once __DIR__ . "/../utils/basic.inc";
      
      $manager = new MongoDB\Driver\Manager(STANDALONE);
      
      $query = new MongoDB\Driver\Query(array(), array(
          'projection' => array('_id' => 0, 'username' => 1),
          'sort' => array('username' => 1),
      ));
      
      $cursor = $manager->executeQuery(NS, $query);
      
      failGetMore($manager);
      foreach ($cursor as $document) {
          echo $document['username'] . "\n";
      }
      
      
      ?>
      ===DONE===
      <?php exit(0); ?>
      --EXPECT--
      

        1. errlog.txt
          2.87 MB
          Hannes Magnusson

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: