我已经克隆了Diaspora的来源,并且我有一个工作的本地吊舱似乎顺利运行.但是当我运行$ rake spec一些初始测试时,然后所有这些测试都开始失败.而且,我发现有趣的是,每次rake spec运行时它们都会在不同的点失败.
他们都失败了,错误:
An error occurred in an after hook
ActiveRecord::StatementInvalid: PG::ConnectionBad: PQsocket() can't get socket descriptor: ROLLBACK
occurred at /home/darshan/.rvm/gems/ruby-2.0.0-p353@diaspora/gems/activerecord-3.2.16/lib/active_record/connection_adapters/postgresql_adapter.rb:650:in `async_exec'
Run Code Online (Sandbox Code Playgroud)
Postgres的日志说:
could not receive data from client: Connection reset by peer
unexpected EOF on client connection
Run Code Online (Sandbox Code Playgroud)