dolthub / dolthub/dolt

Bats tests using remote server are failing on Windows

Open
#2,757 0 comments 0 reactions 0 assignees View on GitHub
testing windows wontfix
Dominant language
Go
Stars
24.4k
Forks
873
Avg merge
1d 8h
Merged PRs (30d)
120

Description

These tests are consistently failing with error message:
`# rm: cannot remove '/d/a/batstmp/dolt-bats-tests-l7bG5X/remotes-1377/test-org/test-repo/3e2k5sldj7srhghkvts1tcihmpv86hks': Device or resource busy`

- garbage_collection.bats
- git-dolt.bats
- remotes.bats
- sql-server-config.bats
- sql-server-schema-fragments.bats
- sql-server.bats
- system-tables.bats

They are currently skipped on Windows.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running the listed Bats tests on Windows and inspect how they clean up the remote-server paths named in the error. Compare the Windows skip configuration with the test behavior, then verify that garbage_collection.bats, git-dolt.bats, remotes.bats, sql-server-config.bats, sql-server-schema-fragments.bats, sql-server.bats, and system-tables.bats pass without being skipped.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, shell, sql
Domain
databases, operating-systems, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.