jest.setTimeout(90000)

console.log('=============== JEST SETUP ================')
const retries = process.env.TEST_RETRIES != null ? parseInt(process.env.TEST_RETRIES, 10) : 0
jest.retryTimes(retries)
console.log(`Setting retries to: ${retries}`)
console.log('============= END JEST SETUP ==============')

require('jest-extended')
const glob = require('glob')
const path = require('path')

// Protocol files are imported on demand depending on the APIs supported by Kafka,
// but this behavior doesn't help Jest. Therefore, all files are eagerly imported
// when running tests
glob
  .sync('src/protocol/requests/**/v*/@(request|response).js')
  .map(file => path.resolve(file))
  .map(require)

jest.setTimeout(90000)

const retries = process.env.TEST_RETRIES != null ? parseInt(process.env.TEST_RETRIES, 10) : 0
jest.retryTimes(retries)

require('jest-extended')
const glob = require('glob')
const path = require('path')

// Protocol files are imported on demand depending on the APIs supported by Kafka,
// but this behavior doesn't help Jest. Therefore, all files are eagerly imported
// when running tests
glob
  .sync('src/protocol/requests/**/v*/@(request|response).js')
  .map(file => path.resolve(file))
  .map(require)

Revert "Temporarily add debug logging for retry config"
Revert "Temporarily add debug logging for retry config"

This reverts commit 45e3fec7591d635a43ae5c4a910d998892176c84.
