Git Product home page Git Product logo

Comments (2)

kdlucas avatar kdlucas commented on April 27, 2024

That might be a good idea, to implement a retry mechanism that makes sure
the job gets out of the IN_PROGRESS state. I'll see how easy it would be to
implement this.

Kelly
kdLucas

On Sun, Jun 26, 2016 at 7:25 PM, YasuhiroFuruta [email protected]
wrote:

The test cases "testMalformattedFile" and "testJobStateEmptyInputTray" are
checking the job state after 10 seconds from submitting the job.

The test case "testMalformattedFile" expects the job state is "Printed",
but the job state is still "In progress" on some printer because the
printer is printing the job at that time.
The test case "testJobStateEmptyInputTray" expects the job state is
"Error", but the job state is still "In progress" on some printer because
the printer is trying to feed a paper at that time.
10 seconds are too short.

I think these test cases should wait until the job state becomes a state
other than "In progress" before checking that.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#35, or mute the
thread
https://github.com/notifications/unsubscribe/ADk_fR-_gbmyA6iQphCVDZuV4vPGPf8Pks5qPzSLgaJpZM4I-ti3
.

from cloudprint_logocert.

marctan avatar marctan commented on April 27, 2024

Hi @YasuhiroFuruta , @kdlucas

Requesting to also include checking if print job is still in 'QUEUED' state in WaitJobStatusNotIn().

Since sometimes internet connection is really really slow so the job is still in 'QUEUED' state. Please have these tests modified to avoid failure and for it to be more robust.
The ff test scripts are listed below:

testJobStateEmptyInputTray - in WaitJobStatusNotIn() parameter include 'QUEUED' state

testJobStateMissingToner - use WaitJobStatusNotIn() and include 'QUEUED' state in parameter instead of using getjobstatus()

testJobStateNetworkOutage - use WaitJobStatusNotIn() and include 'QUEUED' state in parameter instead of using getjobstatus()

testMalformattedFile - use WaitJobStatusNotIn() and include 'QUEUED' state in parameter instead of using getjobstatus()

testMultiPageJobState - use WaitJobStatusNotIn() and include 'QUEUED' state in parameter instead of using getjobstatus()

Thank you!

from cloudprint_logocert.

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.