Skip to content

Commit

Permalink
time
Browse files Browse the repository at this point in the history
  • Loading branch information
kleyow committed Dec 7, 2023
1 parent 3980b2d commit d155773
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ Test('Handlers test', async handlersTest => {
for (const transfer of td.transfersArray) {
await Producer.produceMessage(transfer.messageProtocolPrepare, td.topicConfTransferPrepare, prepareConfig)
}
await new Promise(resolve => setTimeout(resolve, 2000))
await new Promise(resolve => setTimeout(resolve, 5000))
try {
const positionPrepare = await wrapWithRetries(() => testConsumer.getEventsForFilter({
topicFilter: 'topic-notification-event',
Expand Down Expand Up @@ -790,7 +790,7 @@ Test('Handlers test', async handlersTest => {
for (const transfer of td.transfersArray) {
await Producer.produceMessage(transfer.messageProtocolPrepare, td.topicConfTransferPrepare, prepareConfig)
}
await new Promise(resolve => setTimeout(resolve, 2000))
await new Promise(resolve => setTimeout(resolve, 5000))
try {
const positionPrepare = await wrapWithRetries(() => testConsumer.getEventsForFilter({
topicFilter: 'topic-notification-event',
Expand Down Expand Up @@ -831,7 +831,7 @@ Test('Handlers test', async handlersTest => {
for (const transfer of td.transfersArray) {
await Producer.produceMessage(transfer.messageProtocolPrepare, td.topicConfTransferPrepare, prepareConfig)
}
await new Promise(resolve => setTimeout(resolve, 2000))
await new Promise(resolve => setTimeout(resolve, 5000))
try {
const positionPrepare = await wrapWithRetries(() => testConsumer.getEventsForFilter({
topicFilter: 'topic-notification-event',
Expand Down Expand Up @@ -877,7 +877,7 @@ Test('Handlers test', async handlersTest => {
for (const transfer of td.transfersArray) {
await Producer.produceMessage(transfer.messageProtocolPrepare, td.topicConfTransferPrepare, prepareConfig)
}
await new Promise(resolve => setTimeout(resolve, 2000))
await new Promise(resolve => setTimeout(resolve, 5000))
// Consume messages from notification topic
const positionPrepare = await wrapWithRetries(() => testConsumer.getEventsForFilter({
topicFilter: 'topic-notification-event',
Expand Down Expand Up @@ -929,7 +929,7 @@ Test('Handlers test', async handlersTest => {
for (const transfer of td.transfersArray) {
await Producer.produceMessage(transfer.messageProtocolPrepare, td.topicConfTransferPrepare, prepareConfig)
}
await new Promise(resolve => setTimeout(resolve, 2000))
await new Promise(resolve => setTimeout(resolve, 5000))
// Consume messages from notification topic
const positionPrepare = await wrapWithRetries(() => testConsumer.getEventsForFilter({
topicFilter: 'topic-notification-event',
Expand Down Expand Up @@ -972,7 +972,7 @@ Test('Handlers test', async handlersTest => {
for (const transfer of td.transfersArray) {
await Producer.produceMessage(transfer.messageProtocolPrepare, td.topicConfTransferPrepare, prepareConfig)
}
await new Promise(resolve => setTimeout(resolve, 2000))
await new Promise(resolve => setTimeout(resolve, 5000))
try {
const positionPrepare = await wrapWithRetries(() => testConsumer.getEventsForFilter({
topicFilter: 'topic-notification-event',
Expand Down Expand Up @@ -1025,7 +1025,7 @@ Test('Handlers test', async handlersTest => {
for (const transfer of td.transfersArray) {
await Producer.produceMessage(transfer.messageProtocolFulfil, td.topicConfTransferFulfil, fulfilConfig)
}
await new Promise(resolve => setTimeout(resolve, 2000))
await new Promise(resolve => setTimeout(resolve, 5000))
try {
const positionFulfil = await wrapWithRetries(() => testConsumer.getEventsForFilter({
topicFilter: 'topic-notification-event',
Expand Down

0 comments on commit d155773

Please sign in to comment.