Flaky: map_nearcache_test.py::MapTest::test_invalidate_nonexist_key
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 52/100
Direzione di ricerca
Start with tests/integration/backward_compatible/proxy/map_nearcache_test.py, especially MapTest.test_invalidate_nonexist_key and the reported assertion near line 90. Run that test in the compatibility suite and inspect how the near cache changes after the JavaScript map operations. Done means the test reliably preserves the expected cache size of 10 and the compatibility suite passes.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Test failure at compatibility test run: https://github.com/hazelcast/client-compatibility-suites/actions/runs/40719377083/job/122936352327
=================================== FAILURES ===================================
_____________________ MapTest.test_invalidate_nonexist_key _____________________
self = <tests.integration.backward_compatible.proxy.map_nearcache_test.MapTest testMethod=test_invalidate_nonexist_key>
def test_invalidate_nonexist_key(self):
self.fill_map_and_near_cache(10)
initial_cache_size = len(self.map._wrapped._near_cache)
script = """
var map = instance_0.getMap("%s");
map.put("key-99","x");
map.put("key-NonExist","x");
map.remove("key-NonExist");""" % self.map.name
response = self.rc.executeOnController(self.cluster.id, script, Lang.JAVASCRIPT)
self.assertTrue(response.success)
> self.assertEqual(initial_cache_size, 10)
E AssertionError: 9 != 10
master/tests/integration/backward_compatible/proxy/map_nearcache_test.py:90: AssertionError
=============================== warnings summary ===============================
master/hazelcast/reactor.py:2
/home/runner/work/client-compatibility-suites/client-compatibility-suites/master/hazelcast/reactor.py:2: DeprecationWarning: The asyncore module is deprecated and will be removed in Python 3.12. The recommended replacement is asyncio
import asyncore
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED master/tests/integration/backward_compatible/proxy/map_nearcache_test.py::MapTest::test_invalidate_nonexist_key - AssertionError: 9 != 10
= 1 failed, 1254 passed, 20 skipped, 181 deselected, 1 warning in 180.05s (0:03:00) =
- Lingua principale
- Python
- Stelle
- 115
- Fork
- 78
- Merge medio
- 2g 23h
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di hazelcast/hazelcast-python-client
-
Type: Test-Failure
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
asyncio Type: Test-Failure
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
-
asyncio to-jira Type: Test-Failure
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
hazelcast/hazelcast-python-client#761 · 1 commento ·
-
asyncio to-jira Type: Test-Failure
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
hazelcast/hazelcast-python-client#760 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
Tutte le issue di hazelcast/hazelcast-python-client
Issue simili
-
bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
aws-samples/sample-spec-driven-presentation-maker#648 ·
I maintainer di solito rispondono entro 1 giorno
-
firestore: enable live window.yaml pipeline system tests once add_window_fields is in productionAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 64/100
googleapis/google-cloud-python#19115 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Feyisara2108/stellargive#1377 ·
I maintainer di solito rispondono entro 1 giorno
-
CRS WKT default to WKT2Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno