Sha256: fed3bda1f98bc93cb0b146770961d153a8238cb45c9e0ef2d39ed87b3efb8e70
Contents?: true
Size: 1.06 KB
Versions: 14
Compression:
Stored size: 1.06 KB
Contents
version: 1 style: unit description: must aggressively timeout threads enqueued longer than waitQueueTimeoutMS poolOptions: maxPoolSize: 1 waitQueueTimeoutMS: 20 operations: # Check out only possible connection - name: checkOut label: conn0 # Start a thread, have it enter the wait queue - name: start target: thread1 - name: checkOut thread: thread1 # Wait for other thread to time out, then check in connection - name: waitForEvent event: ConnectionCheckOutFailed count: 1 - name: checkIn connection: conn0 # Rejoin thread1, should experience error - name: waitForThread target: thread1 error: type: WaitQueueTimeoutError message: Timed out while checking out a connection from connection pool events: - type: ConnectionCheckOutStarted - type: ConnectionCheckedOut connectionId: 42 - type: ConnectionCheckOutStarted - type: ConnectionCheckOutFailed reason: timeout - type: ConnectionCheckedIn connectionId: 42 ignore: - ConnectionCreated - ConnectionReady - ConnectionClosed - ConnectionPoolCreated
Version data entries
14 entries across 14 versions & 1 rubygems