Fail testing of tarantool when it is not built

Aperta
#249 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
testing-qa

Direzione di ricerca

Start in lib/init.py around the existing tarantool source-directory detection referenced by the issue. Trace how test-run selects tarantool and tarantoolctl executables, then verify that testing the tarantool source tree cannot silently use external PATH executables when the project has not been built. The issue does not name a test file, so identify the relevant test entry point while tracing this behavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

feature usability

It is convenient that test-run uses a tarantool / a tarantoolctl executables found in PATH, when we want to test a module (say, vshard). However it is undesirable behaviour, when we test tarantool itself: it is not always obvious what is going on when I forgot to build tarantool prior to run tests.

We already detect tarantool source directory:

https://github.com/tarantool/test-run/blob/e84355283f117e91964fe84eac70f26bb32d7f06/lib/__init__.py#L14-L22

So it should be easy to forbid using of an external tarantool in the case.

Lingua principale
Python
Stelle
13
Fork
19
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di tarantool/test-run

Tutte le issue di tarantool/test-run

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.