questdb / questdb/questdb

MetricsIODispatcherTest.testPeerIsSlowToRead test

Open
#4,314 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Schrödinger's bug
Dominant language
Java
Stars
17.3k
Forks
1.6k
Avg merge
5d 10h
Merged PRs (30d)
28

Description

To reproduce
2024-03-20T15:41:12.6653541Z 2024-03-20T15:41:12.448659Z I i.q.c.p.WalWriterPool closed
2024-03-20T15:41:12.6654123Z Tests run: 10, Failures: 1, Errors: 0, Skipped: 4, Time elapsed: 64.895 sec <<< FAILURE! - in io.questdb.test.cutlass.http.MetricsIODispatcherTest
2024-03-20T15:41:12.6654576Z testPeerIsSlowToRead(io.questdb.test.cutlass.http.MetricsIODispatcherTest)  Time elapsed: 0.512 sec  <<< FAILURE!
2024-03-20T15:41:12.6654982Z java.lang.AssertionError: expected:<0> but was:<1>
2024-03-20T15:41:12.6655316Z 	at org.junit.Assert.fail(Assert.java:89)
2024-03-20T15:41:12.6655662Z 	at org.junit.Assert.failNotEquals(Assert.java:835)
2024-03-20T15:41:12.6656018Z 	at org.junit.Assert.assertEquals(Assert.java:647)
2024-03-20T15:41:12.6656376Z 	at org.junit.Assert.assertEquals(Assert.java:633)
2024-03-20T15:41:12.6656795Z 	at io.questdb.test.cutlass.http.MetricsIODispatcherTest.lambda$testPrometheusScenario$4(MetricsIODispatcherTest.java:263)
2024-03-20T15:41:12.6657306Z 	at io.questdb.test.cutlass.http.MetricsIODispatcherTest.lambda$buildClientCode$1(MetricsIODispatcherTest.java:187)

146.zip

QuestDB version:

7.3.10

OS, in case of Docker specify Docker and the Host OS:

linux

File System, in case of Docker specify Host File System:

ext4

Full Name:

Alex Pelagenko

Affiliation:

QuestDb

Have you followed Linux, MacOs kernel configuration steps to increase Maximum open files and Maximum virtual memory areas limit?
  • Yes, I have
Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with io.questdb.test.cutlass.http.MetricsIODispatcherTest, especially testPeerIsSlowToRead and the assertions at lines 187 and 263. Run that test on Linux and compare the expected 0 versus actual 1 failure using the attached 146.zip context. Done means identifying the cause and making the test pass reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.