Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Use specified queue for prefill in 'flood' test #67

Merged
merged 1 commit into from

2 participants

@jeffstyr

This just fixes a bug introduced when the prefill option was merged (because that merge happened after the change to let you specify the queue name, so it still had "spam" hardcoded).

@robey robey merged commit 781da6d into twitter:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 22, 2011
  1. @jeffstyr
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 2 deletions.
  1. +1 −2  src/test/scala/net/lag/kestrel/load/Flood.scala
View
3  src/test/scala/net/lag/kestrel/load/Flood.scala
@@ -121,8 +121,7 @@ object Flood extends LoadTesting {
if (prefillItems > 0) {
println("prefill: " + prefillItems + " items of " + kilobytes + "kB")
val socket = SocketChannel.open(new InetSocketAddress(hostname, 22133))
- val qName = "spam"
- put(socket, qName, prefillItems, data)
+ put(socket, queueName, prefillItems, data)
}
println("flood: " + totalItems + " items of " + kilobytes + "kB into " + queueName)
Something went wrong with that request. Please try again.