Skip to content

Releases: tarantool/luatest

1.0.1

26 Jan 12:43
Compare
Choose a tag to compare

Overview

This release includes several bug fixes and improvements.

Changes

  • Fixed incorrect Unix domain socket path length check (gh-341).
  • Now net_box_uri can be accepted as a table (gh-342).
  • Fixed returning values from Server:exec() if some of them are nil (gh-350).
  • Introduce luatest.log helper (gh-326).

1.0.0

23 Nov 10:47
Compare
Choose a tag to compare

Overview

This release extends server.lua API and introduces new modules. Also, it includes several useful features and major bug fixes.

Changes

  • Extend server.lua API:
    • Update parameters of the Server:new() function:
      • The alias parameter defaults to 'server'.
      • The command parameter is optional.
      • The workdir parameter is optional.
      • New parameter datadir (optional).
      • New parameter box_cfg (optional).
    • Add waiting until the started server is ready.
    • Add waiting until the process of the stopped server is terminated.
    • Add new functions:
      • Server.build_listen_uri()
      • Server:drop()
      • Server:wait_until_ready()
      • Server:get_instance_id()
      • Server:get_instance_uuid()
      • Server:grep_log()
      • Server:assert_follows_upstream()
      • Server:get_election_term()
      • Server:wait_for_election_term()
      • Server:wait_for_election_state()
      • Server:wait_for_election_leader()
      • Server:wait_until_election_leader_found()
      • Server:get_synchro_queue_term()
      • Server:wait_for_synchro_queue_term()
      • Server:play_wal_until_synchro_queue_is_busy()
      • Server:get_vclock()
      • Server:get_downstream_vclock()
      • Server:wait_for_vclock()
      • Server:wait_for_downstream_to()
      • Server:wait_for_vclock_of()
      • Server:update_box_cfg()
      • Server:get_box_cfg()
  • Add new module replica_proxy.lua.
  • Add new module replica_set.lua.
  • Add new module tarantool.lua.
  • Check docs generation with LDoc.
  • Add the --repeat-group (-R) option to run tests in a circle within the
    group.
  • Forbid negative values for the --repeat (-r) option.
  • Change the coverage_report parameter type to boolean in the Server:new()
    function.
  • Print Tarantool version used by luatest.
  • Auto-require the luatest module in the Server:exec() function where it is
    available via the corresponding upvalue.
  • Raise an error when non-array arguments passed to the Server:exec()
    function.
  • Save server artifacts (logs, snapshots, etc.) to the ${VARDIR}/artifacts
    directory if the test fails.
  • Fix requiring the internal test helper when running tests.
  • Fix collecting coverage if the tarantool binary has a suffix.