Giter Site home page Giter Site logo

Comments (2)

MusikPolice avatar MusikPolice commented on April 28, 2024

Here's some console output from the failing test:

sun.misc.ServiceConfigurationError: com.sun.tools.attach.spi.AttachProvider: Provider sun.tools.attach.BsdAttachProvider not found
16:53:04,997 |-INFO in ch.qos.logback.ext.loggly.LogglyBatchAppender[null] - Roll bucket - {sendDurationInMillis=0, sendSuccessCount=0, sendExceptionCount=0, sentBytes=0, discardedBucketsCount=0, currentLogEntriesBufferSizeInBytes=2050}
16:53:05,013 |-INFO in ch.qos.logback.ext.loggly.LogglyBatchAppender[null] - Roll bucket - {sendDurationInMillis=0, sendSuccessCount=0, sendExceptionCount=0, sentBytes=0, discardedBucketsCount=0, currentLogEntriesBufferSizeInBytes=3075}
16:53:05,015 |-INFO in ch.qos.logback.ext.loggly.LogglyBatchAppender[null] - Roll bucket - {sendDurationInMillis=0, sendSuccessCount=0, sendExceptionCount=0, sentBytes=0, discardedBucketsCount=0, currentLogEntriesBufferSizeInBytes=4100}
16:53:05,017 |-INFO in ch.qos.logback.ext.loggly.LogglyBatchAppender[null] - Roll bucket - {sendDurationInMillis=0, sendSuccessCount=0, sendExceptionCount=0, sentBytes=0, discardedBucketsCount=0, currentLogEntriesBufferSizeInBytes=5125}
requests 0/4
16:53:07,986 |-INFO in ch.qos.logback.ext.loggly.LogglyBatchAppender[null] - Process log entries - {sendDurationInMillis=0, sendSuccessCount=0, sendExceptionCount=0, sentBytes=0, discardedBucketsCount=0, currentLogEntriesBufferSizeInBytes=4100}
requests 1/4
requests 2/4
requests 3/4
16:53:08,061 |-INFO in ch.qos.logback.ext.loggly.LogglyBatchAppender[null] - Process log entries - {sendDurationInMillis=65, sendSuccessCount=4, sendExceptionCount=0, sentBytes=4100, discardedBucketsCount=0, currentLogEntriesBufferSizeInBytes=0}

Interestingly, the test passes if I drop a breakpoint on line 98 of LogglyBatchAppenderTest.java and step through the code. Seems like this might be a timing issue.

from logback-extensions.

tony19 avatar tony19 commented on April 28, 2024

I'm breaking out the tests into their own files and using mock objects. You shouldn't see these test failures anymore.

from logback-extensions.

Related Issues (20)

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.