mysql tests
Some checks failed
Gradle CI with Full Reports / build (push) Failing after 15m12s

This commit is contained in:
Jan-Philipp Luithardt
2025-12-18 09:17:23 +01:00
parent facb0556a0
commit 7f96f50fb7
73 changed files with 1013 additions and 902 deletions

View File

@@ -29,7 +29,7 @@
</td>
<td>
<div class="infoBox" id="failures">
<div class="counter">6</div>
<div class="counter">0</div>
<p>failures</p>
</div>
</td>
@@ -41,7 +41,7 @@
</td>
<td>
<div class="infoBox" id="duration">
<div class="counter">24.847s</div>
<div class="counter">4.413s</div>
<p>duration</p>
</div>
</td>
@@ -50,8 +50,8 @@
</div>
</td>
<td>
<div class="infoBox failures" id="successRate">
<div class="percent">0%</div>
<div class="infoBox success" id="successRate">
<div class="percent">100%</div>
<p>successful</p>
</div>
</td>
@@ -61,109 +61,10 @@
<div class="tab-container">
<ul class="tabLinks">
<li>
<a href="#">Failed tests</a>
</li>
<li>
<a href="#">Tests</a>
</li>
</ul>
<div class="tab">
<h2>Failed tests</h2>
<div class="test">
<a name="assertCheckTaskListForTask()"></a>
<h3 class="failures">Check TaskList if Task there</h3>
<span class="code">
<pre>hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
at app//hhn.temp.project.provider.MySql.connect(MySql.java:35)
at app//hhn.temp.project.TaskManager.&lt;init&gt;(TaskManager.java:19)
at app//project.GoodCaseTaskTest.assertCheckTaskListForTask(GoodCaseTaskTest.java:89)
at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569)
at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
</pre>
</span>
</div>
<div class="test">
<a name="assertCreateNewTask()"></a>
<h3 class="failures">Create a new Task</h3>
<span class="code">
<pre>hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
at app//hhn.temp.project.provider.MySql.connect(MySql.java:35)
at app//hhn.temp.project.TaskManager.&lt;init&gt;(TaskManager.java:19)
at app//project.GoodCaseTaskTest.assertCreateNewTask(GoodCaseTaskTest.java:47)
at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569)
at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
</pre>
</span>
</div>
<div class="test">
<a name="assertCreateNewTaskManager()"></a>
<h3 class="failures">Create a new TaskManager and test Connecton</h3>
<span class="code">
<pre>org.opentest4j.AssertionFailedError: Unexpected exception thrown: hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152)
at app//org.junit.jupiter.api.AssertDoesNotThrow.createAssertionFailedError(AssertDoesNotThrow.java:84)
at app//org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:75)
at app//org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:58)
at app//org.junit.jupiter.api.Assertions.assertDoesNotThrow(Assertions.java:3224)
at app//project.GoodCaseTaskTest.assertCreateNewTaskManager(GoodCaseTaskTest.java:33)
at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569)
at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
at app//hhn.temp.project.provider.MySql.connect(MySql.java:35)
at app//hhn.temp.project.TaskManager.&lt;init&gt;(TaskManager.java:19)
at app//project.GoodCaseTaskTest.lambda$assertCreateNewTaskManager$0(GoodCaseTaskTest.java:33)
at app//org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:71)
... 6 more
</pre>
</span>
</div>
<div class="test">
<a name="assertDeleteTask()"></a>
<h3 class="failures">Delete Task</h3>
<span class="code">
<pre>hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
at app//hhn.temp.project.provider.MySql.connect(MySql.java:35)
at app//hhn.temp.project.TaskManager.&lt;init&gt;(TaskManager.java:19)
at app//project.GoodCaseTaskTest.assertDeleteTask(GoodCaseTaskTest.java:63)
at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569)
at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
</pre>
</span>
</div>
<div class="test">
<a name="assertEditATask()"></a>
<h3 class="failures">Edit Task</h3>
<span class="code">
<pre>hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
at app//hhn.temp.project.provider.MySql.connect(MySql.java:35)
at app//hhn.temp.project.TaskManager.&lt;init&gt;(TaskManager.java:19)
at app//project.GoodCaseTaskTest.assertEditATask(GoodCaseTaskTest.java:120)
at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569)
at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
</pre>
</span>
</div>
<div class="test">
<a name="assertSetAuthorOfATask()"></a>
<h3 class="failures">Set Author of a Task</h3>
<span class="code">
<pre>hhn.temp.project.expections.SQLNoConectionException: Cant connect to the database (Could not create connection to database server. Attempted reconnect 3 times. Giving up.)
at app//hhn.temp.project.provider.MySql.connect(MySql.java:35)
at app//hhn.temp.project.TaskManager.&lt;init&gt;(TaskManager.java:19)
at app//project.GoodCaseTaskTest.assertSetAuthorOfATask(GoodCaseTaskTest.java:145)
at java.base@17.0.16/java.lang.reflect.Method.invoke(Method.java:569)
at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base@17.0.16/java.util.ArrayList.forEach(ArrayList.java:1511)
</pre>
</span>
</div>
</div>
<div class="tab">
<h2>Tests</h2>
<table>
<thead>
@@ -175,40 +76,40 @@ Caused by: hhn.temp.project.expections.SQLNoConectionException: Cant connect to
</tr>
</thead>
<tr>
<td class="failures">Check TaskList if Task there</td>
<td class="failures">assertCheckTaskListForTask()</td>
<td class="failures">4.108s</td>
<td class="failures">failed</td>
<td class="success">Check TaskList if Task there</td>
<td class="success">assertCheckTaskListForTask()</td>
<td class="success">0.505s</td>
<td class="success">passed</td>
</tr>
<tr>
<td class="failures">Create a new Task</td>
<td class="failures">assertCreateNewTask()</td>
<td class="failures">4.096s</td>
<td class="failures">failed</td>
<td class="success">Create a new Task</td>
<td class="success">assertCreateNewTask()</td>
<td class="success">0.543s</td>
<td class="success">passed</td>
</tr>
<tr>
<td class="failures">Create a new TaskManager and test Connecton</td>
<td class="failures">assertCreateNewTaskManager()</td>
<td class="failures">4.345s</td>
<td class="failures">failed</td>
<td class="success">Create a new TaskManager and test Connecton</td>
<td class="success">assertCreateNewTaskManager()</td>
<td class="success">0.649s</td>
<td class="success">passed</td>
</tr>
<tr>
<td class="failures">Delete Task</td>
<td class="failures">assertDeleteTask()</td>
<td class="failures">4.094s</td>
<td class="failures">failed</td>
<td class="success">Delete Task</td>
<td class="success">assertDeleteTask()</td>
<td class="success">1.351s</td>
<td class="success">passed</td>
</tr>
<tr>
<td class="failures">Edit Task</td>
<td class="failures">assertEditATask()</td>
<td class="failures">4.092s</td>
<td class="failures">failed</td>
<td class="success">Edit Task</td>
<td class="success">assertEditATask()</td>
<td class="success">0.612s</td>
<td class="success">passed</td>
</tr>
<tr>
<td class="failures">Set Author of a Task</td>
<td class="failures">assertSetAuthorOfATask()</td>
<td class="failures">4.112s</td>
<td class="failures">failed</td>
<td class="success">Set Author of a Task</td>
<td class="success">assertSetAuthorOfATask()</td>
<td class="success">0.753s</td>
<td class="success">passed</td>
</tr>
</table>
</div>
@@ -220,7 +121,7 @@ Caused by: hhn.temp.project.expections.SQLNoConectionException: Cant connect to
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
</label>
</div>Generated by
<a href="https://www.gradle.org">Gradle 8.14</a> at 07.12.2025, 14:40:13</p>
<a href="https://www.gradle.org">Gradle 8.14</a> at 18.12.2025, 09:08:55</p>
</div>
</div>
</body>