Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Jun 20, 2014
  1. @mnunberg

    JMembaseTest: Disable 'unknown host' test

    mnunberg authored
    This test takes a potentially long time on DNS servers which
    redirect or 'blackhole' an NXDOMAIN response to something else.
    
    Change-Id: I07bd21da9e17a92db57af11c938476ccf961dd9c
    Reviewed-on: http://review.couchbase.org/38530
    Tested-by: Mark Nunberg <mnunberg@haskalah.org>
    Reviewed-by: Brett Lawson <brett19@gmail.com>
  2. @mnunberg

    Use port 20891 rather than the reserved 18091

    mnunberg authored
    Also clean up port/fd initialization to be more constant for tests
    
    Change-Id: I29dc46e95ef7c4668c8f6759bec9d1404e8560cb
    Reviewed-on: http://review.couchbase.org/37690
    Reviewed-by: Brett Lawson <brett19@gmail.com>
    Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Commits on May 28, 2014
  1. @mnunberg

    Recognize the HELLO command code

    mnunberg authored
    This will still return not supported, but it's better than crashing
    
    Change-Id: I26a786f95c41369a560049a56d424935ac880c95
    Reviewed-on: http://review.couchbase.org/37614
    Tested-by: Mark Nunberg <mnunberg@haskalah.org>
    Reviewed-by: Brett Lawson <brett19@gmail.com>
Commits on Feb 11, 2014
  1. @mnunberg

    Check if stats key is empty

    mnunberg authored
    Change-Id: I843a115b3ac96bb7808e5b78cac4157fa5c319de
    Reviewed-on: http://review.couchbase.org/33444
    Reviewed-by: Brett Lawson <brett19@gmail.com>
    Tested-by: Mark Nunberg <mnunberg@haskalah.org>
  2. @mnunberg

    Don't retry to listen on the same port

    mnunberg authored
    Change-Id: I056b8266c019c06d3c058e263a5493098ccc3c05
    Reviewed-on: http://review.couchbase.org/33443
    Reviewed-by: Brett Lawson <brett19@gmail.com>
    Tested-by: Mark Nunberg <mnunberg@haskalah.org>
  3. @mnunberg

    Add support for 'keyStats'

    mnunberg authored
    Change-Id: I6492717cbb8c42bd096c54b234e54c0857bf7316
    Reviewed-on: http://review.couchbase.org/33408
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Commits on Jan 24, 2014
  1. @mnunberg

    Bump version up to 0.7

    mnunberg authored
    Change-Id: I03bb3c6f0697fe2aea0d65f9da76aafe18be5cc6
    Reviewed-on: http://review.couchbase.org/32810
    Tested-by: Mark Nunberg <mnunberg@haskalah.org>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Commits on Jan 21, 2014
  1. @mnunberg

    IDEA: Use JDK6

    mnunberg authored
    Change-Id: I390494edaab25e0abcfaa31da9e90e7aebfda3d4
    Reviewed-on: http://review.couchbase.org/32618
    Reviewed-by: Brett Lawson <brett19@gmail.com>
    Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Commits on Jan 18, 2014
  1. @mnunberg

    Refactor SASL auth handling

    mnunberg authored
    Add tests, use proper ByteBuffers
    
    Change-Id: Ie62b909b534d3ceb8144eee5f2c2af87526545ef
    Reviewed-on: http://review.couchbase.org/32617
    Reviewed-by: Brett Lawson <brett19@gmail.com>
    Tested-by: Mark Nunberg <mnunberg@haskalah.org>
  2. @mnunberg

    MCPorts: Display message if bucket does not exist

    mnunberg authored
    Change-Id: I4a19a9879bcc7eb8fe9c10aae3e3002a55beba59
    Reviewed-on: http://review.couchbase.org/32616
    Reviewed-by: Brett Lawson <brett19@gmail.com>
    Tested-by: Mark Nunberg <mnunberg@haskalah.org>
  3. @mnunberg

    Add GET_MCPORTS mock command

    mnunberg authored
    This would be used for libcouchbase' testing with CCCP, to get the
    proper CCCP ports
    
    Change-Id: I8d3cfbfbad776b860fa83ec0a3215fa70a39ce78
    Reviewed-on: http://review.couchbase.org/32499
    Reviewed-by: Brett Lawson <brett19@gmail.com>
    Tested-by: Mark Nunberg <mnunberg@haskalah.org>
  4. @mnunberg

    Add CCCP Support

    mnunberg authored
    This adds CCCP support to the mock itself, with an option for
    enabling/disabling it on a per-bucket, per-server basis
    
    Change-Id: I1fc3978bac8b41d920062fbea1a890265bea3901
    Reviewed-on: http://review.couchbase.org/32469
    Reviewed-by: Brett Lawson <brett19@gmail.com>
    Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Commits on Jan 8, 2014
  1. @mnunberg

    Advertise REST port, not memcached port

    mnunberg authored
    Change-Id: I0f59adaeed7a8faef3267c567418aa2daed7d752
    Reviewed-on: http://review.couchbase.org/31701
    Reviewed-by: Brett Lawson <brett19@gmail.com>
    Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Commits on Nov 26, 2013
  1. @mnunberg @trondn

    Add 'OPFAIL' command

    mnunberg authored trondn committed
    Allows forcing specific error codes
    
    Change-Id: I2e1bfeafdc68094e914076aa28f541492784b0ba
    Reviewed-on: http://review.couchbase.org/29989
    Tested-by: Mark Nunberg <mnunberg@haskalah.org>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
  2. @mnunberg @trondn

    Add 'CommandStatus' class for mock handlers

    mnunberg authored trondn committed
    Change-Id: I18655b09efba34691d0802fc6320bd14ae0dddcb
    Reviewed-on: http://review.couchbase.org/29988
    Tested-by: Mark Nunberg <mnunberg@haskalah.org>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Sep 24, 2013
  1. @trondn

    Add support for restful flush

    trondn authored
    Change-Id: I48ef2e18cd863a8ea306cb7510b547a9c882e23d
    Reviewed-on: http://review.couchbase.org/29152
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Sep 23, 2013
  1. @trondn

    Add support for evict

    trondn authored
    Given that the mock don't have a concept of whats in
    memory and whats not we'll always return success if
    the key's in there.
    
    Change-Id: I7797e641dc12186aef5d7ecec6a67fb2392cc231
    Reviewed-on: http://review.couchbase.org/29148
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
  2. @trondn

    Updates generated from intellij

    trondn authored
    Change-Id: I670f8e4a4a0fb6b1546af8f9c731fb4094f81e77
    Reviewed-on: http://review.couchbase.org/29147
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Sep 3, 2013
  1. @avsej @trondn

    Return 404 when bucket is not found

    avsej authored trondn committed
    The 'Admin by default' behaviour hid this issue, because for
    administrator authentication is always successful
    
    Change-Id: I294e8f294b3d043933301eee5d2cf11634c93bf9
    Reviewed-on: http://review.couchbase.org/28747
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Aug 18, 2013
  1. @trondn

    Invert isUnlocked

    trondn authored
    It is easier to read and parse the logic when the variable
    name represent the state (and isn't inverted).
    
    Change-Id: Ic95cc19b9c6bada52805712cebdca9316af6dd45
    Reviewed-on: http://review.couchbase.org/28337
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Aug 16, 2013
  1. @mnunberg @avsej

    IO Refactor for memcached

    mnunberg authored avsej committed
    This fixes some issues in the Memcached I/O.
    Previously we were using a simple write with nonblocking I/O; where we'd
    issue a chan.write() call and discard the buffer regardless of whether
    all bytes were written or not. This caused data to get lost if the TCP
    write buffer was full and caused me lots of frustration on Windows
    (where this happened quite frequently).
    
    Change-Id: Ib7ae9b3a82f6818697032b1a17f33a98f4003bbd
    Reviewed-on: http://review.couchbase.org/28120
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Mark Nunberg <mnunberg@haskalah.org>
  2. @mnunberg @avsej

    [StreamingHandler] don't hold lock while doing I/O

    mnunberg authored avsej committed
    Change-Id: Ib338b6438bb55a8aba2ca6576fb017b4ab83e08a
    Reviewed-on: http://review.couchbase.org/28196
    Tested-by: Mark Nunberg <mnunberg@haskalah.org>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Aug 8, 2013
  1. @trondn

    Don't test a bool value towards true/false

    trondn authored
    Change-Id: I1a67e7d2635b867314528812e3ae17d5dc1354b9
    Reviewed-on: http://review.couchbase.org/27960
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
  2. @trondn

    IOException is never thrown

    trondn authored
    Change-Id: I8edd8c0e7119a0de8bb8b5ecc1fdf68dcf6578aa
    Reviewed-on: http://review.couchbase.org/27959
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  3. @trondn

    Refactor the MockCommand interface

    trondn authored
    Pass the mock to the execute method to avoid implementing
    a constructor, and return the response as part of the
    execute method.
    
    Change-Id: Icf437d08e076f541fad700d27e7b2fff3344c2e1
    Reviewed-on: http://review.couchbase.org/27954
    Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Aug 7, 2013
  1. @trondn

    Remove warning about unchecked/unsafe operations

    trondn authored
    Change-Id: If1d12d0594a6e07bdb14030f7966d16415a17298
    Reviewed-on: http://review.couchbase.org/27929
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Aug 6, 2013
  1. @trondn

    Reduce the number of nodes for Linux

    trondn authored
    I'm running out of filedescriptors on my Ubuntu box
    (without any tuning set up). I guess most other people
    using it will encounter the same problem so lets just
    reduce the number of nodes and vbuckets used in the
    test for Linux.
    
    Change-Id: I4cdb571d838945046e362ac0cd4cd7d4f813b20b
    Reviewed-on: http://review.couchbase.org/27933
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Aug 5, 2013
  1. @mnunberg @trondn

    Bump to 0.6

    mnunberg authored trondn committed
    Change-Id: I2cd5560a2a9d8cd9c86161af2a9dacdc992c7bb9
    Reviewed-on: http://review.couchbase.org/27551
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  2. @trondn

    Disable failing assertion

    trondn authored
    Change-Id: I7c2a1c6e4595f30bffc452ead9a17aafdfed0f39
    Reviewed-on: http://review.couchbase.org/27928
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  3. @trondn

    Modify the return packet from help

    trondn authored
    * help should return "ok" if it succeeds (instead of ERR)
    * help should return the same packet format as all of the other
      commands
    
    Change-Id: I8c59e656ce6519816402e052ca9cbf45d204476d
    Reviewed-on: http://review.couchbase.org/27926
    Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  4. @trondn

    Fixup return from MockInfo

    trondn authored
    The MockInfo command should return a JSON object with the same
    format as all of the other commands
    
    Change-Id: Ide3c609e3871fa131a4682abb2742dc82e354838
    Reviewed-on: http://review.couchbase.org/27925
    Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  5. @trondn

    Fixup all warnings from the mock.client package

    trondn authored
    Change-Id: Ie1c7723d0d085b7e6ae24840645ccbfdfcd13be8
    Reviewed-on: http://review.couchbase.org/27924
    Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  6. @trondn

    Implement test for KeyInfoRequest

    trondn authored
    This patch change the format for the return message on
    the key info request so that it looks like the other
    commands as well.
    
    Change-Id: Ibe921bbb3802e5e04c52fec62ab37b3c088328b8
    Reviewed-on: http://review.couchbase.org/27912
    Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  7. @trondn

    Add more tests of the MockClients

    trondn authored
    Change-Id: I7b6f394f48c5e83eab5701f10a56e7eb66760cd4
    Reviewed-on: http://review.couchbase.org/27911
    Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Aug 3, 2013
  1. @trondn

    Fixup incorrect @NotNull annotations

    trondn authored
    Change-Id: Ib7d5cc09aa1f474617c30f7ac7b0ec43bfe6c00d
    Reviewed-on: http://review.couchbase.org/27910
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
Something went wrong with that request. Please try again.