GithubHelp home page GithubHelp logo

Can't build with gradle about tauro-core HOT 5 CLOSED

Czechball avatar Czechball commented on May 27, 2024
Can't build with gradle

from tauro-core.

Comments (5)

sudiptosarkar avatar sudiptosarkar commented on May 27, 2024 1

@Czechball My bad... Use gradle build -x test

from tauro-core.

sudiptosarkar avatar sudiptosarkar commented on May 27, 2024

@Czechball Please use gradle build -DskipTests for now.
The test cases are failing because the exception message we were testing for is coming in your language instead of English.

from tauro-core.

Czechball avatar Czechball commented on May 27, 2024

Alright, I'll give it a try. Thanks

from tauro-core.

Czechball avatar Czechball commented on May 27, 2024

I just ran sudo gradle build -DskipTests and got basically the same errors:

:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:jar UP-TO-DATE
:assemble UP-TO-DATE
:checkstyleMain UP-TO-DATE
:compileTestJava UP-TO-DATE
:processTestResources UP-TO-DATE
:testClasses UP-TO-DATE
:checkstyleTest UP-TO-DATE
:test

 Test Suite: org.koreops.tauro.core.loggers.LoggerTest
Results: SUCCESS (7 tests, 7 successes, 0 failures, 0 skipped)


 Test Suite: org.koreops.tauro.core.db.DbConnEngineTest
Results: SUCCESS (2 tests, 2 successes, 0 failures, 0 skipped)


 Test Suite: org.koreops.tauro.core.constants.RouterAuthTypeTest
Results: SUCCESS (3 tests, 3 successes, 0 failures, 0 skipped)


 Test Suite: org.koreops.tauro.core.process.status.reporting.MailerTest
Results: SUCCESS (3 tests, 3 successes, 0 failures, 0 skipped)


org.koreops.tauro.core.process.ProcessManagerTest > testNonExistentDumpGetArgs FAILED
    org.junit.ComparisonFailure: expected:<...sources/process.ps ([No such file or directory])> but was:<...sources/process.ps ([Adresář nebo soubor neexistuje])>
        at org.junit.Assert.assertEquals(Assert.java:115)
        at org.junit.Assert.assertEquals(Assert.java:144)
        at org.koreops.tauro.core.process.ProcessManagerTest.testNonExistentDumpGetArgs(ProcessManagerTest.java:87)

org.koreops.tauro.core.process.ProcessManagerTest > testNonExistentDumpGetCoveredHosts FAILED
    org.junit.ComparisonFailure: expected:<...sources/process.ps ([No such file or directory])> but was:<...sources/process.ps ([Adresář nebo soubor neexistuje])>
        at org.junit.Assert.assertEquals(Assert.java:115)
        at org.junit.Assert.assertEquals(Assert.java:144)
        at org.koreops.tauro.core.process.ProcessManagerTest.testNonExistentDumpGetCoveredHosts(ProcessManagerTest.java:97)

 Test Suite: org.koreops.tauro.core.process.ProcessManagerTest
Results: FAILURE (4 tests, 2 successes, 2 failures, 0 skipped)


19 tests completed, 2 failed
:test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///home/czechball/Cloned%20Repos/tauro-core/build/reports/tests/test/index.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 4.712 secs

Is there any other way to skip tests?

from tauro-core.

Czechball avatar Czechball commented on May 27, 2024

This worked, thanks.

from tauro-core.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.