diff --git a/protocol/common/constants.go b/protocol/common/constants.go index 6e3b30b..510c6ed 100644 --- a/protocol/common/constants.go +++ b/protocol/common/constants.go @@ -26,10 +26,10 @@ var ( TOPIC1_NAME = topic_names[0] TOPIC2_NAME = topic_names[1] TOPIC3_NAME = topic_names[2] - random_topic_uuids = getUniqueRandomIntegers(10, 99, 4) - TOPIC1_UUID = fmt.Sprintf("00000000-0000-4000-8000-0000000000%02d", random_topic_uuids[1]) - TOPIC2_UUID = fmt.Sprintf("00000000-0000-4000-8000-0000000000%02d", random_topic_uuids[2]) - TOPIC3_UUID = fmt.Sprintf("00000000-0000-4000-8000-0000000000%02d", random_topic_uuids[3]) + random_topic_uuids = getUniqueRandomIntegers(10, 99, 3) + TOPIC1_UUID = fmt.Sprintf("00000000-0000-4000-8000-0000000000%02d", random_topic_uuids[0]) + TOPIC2_UUID = fmt.Sprintf("00000000-0000-4000-8000-0000000000%02d", random_topic_uuids[1]) + TOPIC3_UUID = fmt.Sprintf("00000000-0000-4000-8000-0000000000%02d", random_topic_uuids[2]) TOPICX_UUID = fmt.Sprintf("00000000-0000-0000-0000-00000000%04d", random.RandomInt(1000, 9999)) // Unknown topic used in requests TOPIC_UNKOWN_NAME = fmt.Sprintf("unknown-topic-%s", topic_names[3])