Skip to content

Instantly share code, notes, and snippets.

View michaelklishin's full-sized avatar

Michael Klishin michaelklishin

View GitHub Profile
=ERROR REPORT==== 7-Dec-2011::23:00:25 ===
** Generic server <0.5529.24> terminating
** Last message in was {'$gen_cast',
{method,
{'queue.declare',0,<<"ha-all">>,false,true,
true,false,false,[]},
none}}
** When Server state == {ch,running,rabbit_framing_amqp_0_9_1,1,<0.5525.24>,
<0.5527.24>,<0.5525.24>,
{token,<0.5528.24>,false},
Testcase: testRedeclare1 took 0.017 sec
FAILED
expected:<406> but was:<541>
junit.framework.AssertionFailedError: expected:<406> but was:<541>
at com.rabbitmq.client.test.BrokerTestCase.checkShutdownSignal(BrokerTestCase.java:142)
at com.rabbitmq.client.test.BrokerTestCase.checkShutdownSignal(BrokerTestCase.java:127)
at com.rabbitmq.client.test.functional.HAQueues.failRedeclare(HAQueues.java:57)
at com.rabbitmq.client.test.functional.HAQueues.testRedeclare1(HAQueues.java:41)
Testcase: testRedeclare2 took 0.011 sec
;; method chaining with the -> (threading) macro
(-> (MyLib/find input) (.where query) (.skip 10) (.limit 20) (.hint hint1 hint2) .snapshot)
root@staging ~ # lsof -i :1099
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
sshd 9351 travis 4u IPv4 29498107 0t0 TCP staging.worker-travis-ci-org:54984->staging.worker-travis-ci-org:rmiregistry (FIN_WAIT2)
sshd 9351 travis 10u IPv4 29525397 0t0 TCP staging.worker-travis-ci-org:34608->staging.worker-travis-ci-org:rmiregistry (FIN_WAIT2)
VBoxXPCOM 9598 travis 11u IPv6 29498019 0t0 TCP *:rmiregistry (LISTEN)
VBoxXPCOM 9598 travis 12u IPv6 29498020 0t0 TCP staging.worker-travis-ci-org:rmiregistry->staging.worker-travis-ci-org:54984 (CLOSE_WAIT)
VBoxSVC 9604 travis 11u IPv6 29498019 0t0 TCP *:rmiregistry (LISTEN)
VBoxSVC 9604 travis 12u IPv6 29498020 0t0 TCP staging.worker-travis-ci-org:rmiregistry->staging.worker-travis-ci-org:54984 (CLOSE_WAIT)
VBoxHeadl 9653 travis 11u IPv6 29498019 0t0 TCP *:rmiregistry (LISTEN)
VBoxHeadl 9653 travis 12u IPv6 29498020 0t0 TCP staging.worker-travis-ci-org:rmiregistry->stagin
@michaelklishin
michaelklishin / monger.querying.clj
Created November 14, 2011 09:10
Our new MongoDB query DSL in Monger, implemented in < 100 lines of Clojure
(with-collection "docs"
(find { :inception_year { $lt 2000 $gte 2011 } })
(fields { :inception_year 1 :name 1 })
(skip 10)
(limit 20)
(batch-size 50)
(hint "my-index-name")
(snapshot))
:repositories { "sonatype"
{:url "http://oss.sonatype.org/content/repositories/releases"
:snapshots false
:releases {:checksum :fail :update :always}
}}
# encoding: utf-8
require 'java'
require 'ext/commons-io'
require 'ext/rabbitmq-client'
module HotBunnies
import com.rabbitmq.client.ConnectionFactory
import com.rabbitmq.client.Connection
env:
- A=1 B=2
:rvm => {
:rubies => [{ :name => "1.8.7" },
{ :name => "rbx-head", :arguments => "--branch 2.0.testing", :using => "1.8.7" },
{ :name => "1.9.2" },
{ :name => "1.9.3" },
{ :name => "rbx-head-d19", :arguments => "--branch 2.0.testing -b d19", :using => "1.9.3" }
{ :name => "ruby-head" }],
:default => "1.8.7",
:gems => %w(bundler rake chef),
:aliases => {
vagrant@lucid32:~$ /tmp/rvm-installer --trace --version 1.8.6
+ /tmp/rvm-installer : 172 > export rvm_trace_flag=1
+ /tmp/rvm-installer : 172 > rvm_trace_flag=1
+ /tmp/rvm-installer : 177 > true 1 0 0 0 HOME=/home/vagrant
+ /tmp/rvm-installer : 181 > (( rvm_ignore_rvmrc == 0 ))
+ /tmp/rvm-installer : 183 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
+ /tmp/rvm-installer : 185 > [[ -s /etc/rvmrc ]]
+ /tmp/rvm-installer : 183 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
+ /tmp/rvm-installer : 185 > [[ -s /home/vagrant/.rvmrc ]]
+ /tmp/rvm-installer : 200 > [[ -z '' ]]