You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: queue_test.go
    path of file: ./repos/gitlabhq/workhorse/internal/queueing
    
    the code of the file until where you have to start completion: package queueing

import (
	"testing"
	"time"

	"github.com/prometheus/client_golang/prometheus"
)

func TestNormalQueueing(t *testing.T) {
	q := newQueue("queue name", 2, 1, time.Microsecond, prometheus.NewRegistry())
	err1 := q.Acquire()
	if err1 != nil {
		t.Fatal("we should acquire a new slot")
	}

	err2 := q.Acquire()
	if err2 != nil {
		t.Fatal("we should acquire a new slot")
	}

	err3 := q.Acquire()
	if 
    
func TestNormalQueueing(t *testing.T) {
	q := newQueue("queue name", 2, 1, time.Microsecond, prometheus.NewRegistry())
	err1 := q.Acquire()
	if err1 != nil {
		t.Fatal("we should acquire a new slot")
	}

	err2 := q.Acquire()
	if err2 != nil {
		t.Fatal("we should acquire a new slot")
	}

	err3 := q.Acquire()
	if err3 != ErrQueueingTimedout {
		t.Fatal("we should timeout")
	}

	q.Release()

	err4 := q.Acquire()
	if err4 != nil {
		t.Fatal("we should acquire a new slot")
	}
}