Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

CI: three Oracle-only tests in test_cypher_compiled.py never run, as -k oracle doesn't select them

Aberta Para iniciantes
#178 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
1/5
Tempo estimado
Menos de uma hora
Facilidade para iniciantes
88/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
python
Domínio
ci-cd, testing

Direção de pesquisa

Leia a configuração do job Oracle em .github/workflows e os três testes listados em tests/integration/test_cypher_compiled.py, junto com suas cópias sincronizadas. Execute o comando fornecido ORACLE_TESTS=true uv run pytest --collect-only -q -k oracle tests/integration/test_cypher_compiled.py para confirmar que eles são omitidos. A tarefa está concluída quando os três testes exclusivos do Oracle correspondem à seleção do job e são coletados.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

CI runs the Oracle tests with pytest -k oracle (.github/workflows, the Oracle job), which picks the tests whose name or parameters say oracle. Three tests in tests/integration/test_cypher_compiled.py (and their sync copies) are skipped unless Oracle is configured, take no oracle parameter, and don't say oracle in their names, so no CI job runs them: the main job skips them, and the Oracle job deselects them.

  • test_nodes_of_two_labels_a_transaction_has_made_and_not_yet_committed_are_found_by_both (line ~320)
  • test_a_text_past_32_kb_set_on_two_nodes_beside_a_whole_float_or_not_leaves_the_session_open (line ~343, the #131 regression test)
  • test_a_text_past_32_kb_in_a_map_parameter_read_and_set_on_two_nodes_leaves_the_session_open (line ~367, the #145 regression test)

Checked with ORACLE_TESTS=true uv run pytest --collect-only -q -k oracle tests/integration/test_cypher_compiled.py: none of the three is collected.

Fix: name each ..._on_oracle (as the #144 test is named), or mark the Oracle-only tests so -k oracle matches them.

Linguagem predominante
Python
Estrelas
1
Forks
0
Merge médio
1h 21min
PRs com merge (30d)
128

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de liberation-data/drivine-python

Todas as issues de liberation-data/drivine-python

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.