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_cluster_test.go
    path of file: ./repos/rmq
    
    the code of the file until where you have to start completion: package rmq

import (
	"fmt"
	"math"
	"strconv"
	"testing"
	"time"

	"github.com/redis/go-redis/v9"
	"github.com/stretchr/testify/assert"
	"github.com/stretchr/testify/require"
)

func TestClusterConnections(t *testing.T) {
	redisOptions, closer := testClusterRedis(t)
	defer closer()

	connFlush, err := OpenClusterConnection("flush", redis.NewClusterClient(redisOptions), nil)
	assert.NoError(t, err)
	assert.NoError(t, connFlush.stopHeartbeat())
	assert.Equal(t, ErrorNotFound, connFlush.stopHeartbeat())
	assert.NoError(t, connFlush.flushDb())

	connClea
    
func TestClusterQueue_StopConsuming_CantAddConsumer(t *testing.T) {
	redisOptions, closer := testClusterRedis(t)
	defer closer()

	connection, err := OpenClusterConnection("conn1", redis.NewClusterClient(redisOptions), nil)
	assert.NoError(t, err)
	queue, err := connection.OpenQueue("consume-q")
	assert.NoError(t, err)
	_, err = queue.PurgeReady()
	assert.NoError(t, err)

	assert.NoError(t, queue.StartConsuming(20, time.Millisecond))

	finishedChan := queue.StopConsuming()
	require.NotNil(t, finishedChan)
	<-finishedChan // wait for stopping to finish

	_, err = queue.AddConsumer("late-consume", NewTestConsumer("late-consumer"))
	require.Equal(t, ErrorConsumingStopped, err)
}