<commit_before>#!/usr/bin/env bats

load test_helper

# InnoDB is slow to initialize; penalize this with a 5 second wait
@test "start a default server with InnoDB and no password" {
  local name="default-startup"
  create ${name} ""
  sleep 5
  run client_query "${name}" "-e 'SHOW ENGINE INNODB STATUS;'"
  [[ "$status" -eq 0 ]]
  decommission "${name}"
}<commit_msg>test: check starting InnoDB without a volume<commit_after>#!/usr/bin/env bats

load test_helper

# InnoDB is slow to initialize; penalize this with a 5 second wait
@test "start a default server with InnoDB and no password" {
  local name="default-startup"
  create ${name} ""
  sleep 5
  run client_query "${name}" "-e 'SHOW ENGINE INNODB STATUS;'"
  [[ "$status" -eq 0 ]]
  decommission "${name}"
}

@test "start a server without a dedicated volume (issue #1)" {
  local name="innodb-issue-1"
  docker run -d --rm --name "${TEST_PREFIX}-${name}" "${IMAGE}":"${VERSION}"
  sleep 5
  run client_query "${name}" "-e 'select 1;'"
  [[ "$status" -eq 0 ]]
  decommission "${name}"
}
{'fraction_non_alphanumeric': 0.1521531100478469, 'fraction_numerical': 0.010526315789473684, 'mean_word_length': 4.077669902912621, 'pattern_counts': {'":': 1, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6570530', 'n_tokens_mistral': 371, 'n_tokens_neox': 352, 'n_words': 128}