Skip to content

Commit

Permalink
Adjust cassandra.yaml on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasponce committed May 26, 2017
1 parent 0352bbf commit 9b286b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion itests/run-cassandra.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ tar -xzf ${CASSANDRA_DOWNLOADS}/${CASSANDRA_BINARY}
mv apache-cassandra-${CASSANDRA_VERSION} ${CASSANDRA_HOME}

# Increasing timeout due some travis errors on writtings
sed -i 's/write_request_timeout_in_ms:\ 2000/write_request_timeout_in_ms:\ 20000/g' "${CASSANDRA_HOME}/conf/cassandra.yaml"
sed -i 's/write_request_timeout_in_ms:\ 2000/write_request_timeout_in_ms:\ 3000/g' "${CASSANDRA_HOME}/conf/cassandra.yaml"
sed -i 's/#\ memtable_offheap_space_in_mb:\ 2048/memtable_offheap_space_in_mb:\ 32/g' "${CASSANDRA_HOME}/conf/cassandra.yaml"

mkdir "${CASSANDRA_HOME}/logs"

Expand Down

0 comments on commit 9b286b9

Please sign in to comment.