mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2026-10-12 09:24:52 -05:00
test(vectordata): tag unit suites for the CI groups filter
Surefire runs only tests tagged 'unit' (nb.junit.tags), so the module's untagged suites were invisible to 'mvn -B test' in CI. Tag every unit test class; the *IntegrationTest suites already run under failsafe.
This commit is contained in:
1 parent
4fbe0d57ff
commit
625941cd42
4 files changed
+8
No files matched your search
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
package io.nosqlbench.vectordata;
|
||||
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.io.TempDir;
|
||||
|
||||
@@ -23,6 +24,7 @@ import java.nio.file.Path;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
@Tag("unit")
|
||||
class CatalogManifestTest {
|
||||
@TempDir Path temporary;
|
||||
@Test void resolvesCatalogProfilesInheritanceAliasesAndCustomFacets() throws Exception {
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
package io.nosqlbench.vectordata;
|
||||
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.net.URI;
|
||||
@@ -22,6 +23,7 @@ import java.net.URI;
|
||||
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
|
||||
|
||||
/** Verifies the checked-in catalog and binary xvec format fixture through the public API. */
|
||||
@Tag("unit")
|
||||
class FormatCompatibilityTest {
|
||||
@Test void readsCheckedInFormatFixtureThroughCatalogApi() throws Exception {
|
||||
URI catalogUri = getClass().getClassLoader().getResource("rust-v1/catalog.yaml").toURI();
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
package io.nosqlbench.vectordata;
|
||||
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.io.TempDir;
|
||||
|
||||
@@ -24,6 +25,7 @@ import java.nio.file.Path;
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
/** Settings tests use explicit temporary roots and never inspect or write user configuration. */
|
||||
@Tag("unit")
|
||||
class VectorDataSettingsTest {
|
||||
@TempDir Path temporary;
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
package io.nosqlbench.vectordata;
|
||||
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.io.TempDir;
|
||||
|
||||
@@ -22,6 +23,7 @@ import java.nio.file.Path;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
@Tag("unit")
|
||||
class VectorReadersTest {
|
||||
@TempDir Path temporary;
|
||||
@Test void readsFixedVectorsAndCopiesToCallerArray() throws Exception {
|
||||
|
||||
Reference in new issue
Block a user