Skip to content

Commit

Permalink
ci: overwrite tmpdir in mac integration tests
Browse files Browse the repository at this point in the history
The test `test_t3_instance_names_no_config` always fails because of very
long path in tmpdir. This test requires socket path with fexed length,
otherwise it can cause socket path buffer overflow.

After the patch tmpdir was overwritten to the shorter one.

Closes #931
  • Loading branch information
themilchenko committed Oct 4, 2024
1 parent ee7a226 commit c69036a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/full-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ jobs:
run: mage unitfull

- name: Integration tests
run: mage integrationfull
run: TMPDIR=/tmp mage integrationfull

# Etcd can be still running after integration tests when:
# 1. pytest recieve SIGALRM (can be caused by pytest-timeout plugin)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ jobs:
run: mage unit

- name: Run integration tests
run: mage integration
run: TMPDIR=/tmp mage integration

# Etcd can be still running after integration tests when:
# 1. pytest recieve SIGALRM (can be caused by pytest-timeout plugin)
Expand Down

0 comments on commit c69036a

Please sign in to comment.