GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Try another approach to mark hanging generated tests · Issue #371 · UnitTestBot/UTBotJava

Try another approach to mark hanging generated tests #371

New issue
Copy link
New issue
Copy link
Closed
#554
Closed
Try another approach to mark hanging generated tests#371
#554
Copy link
Assignees
Vassiliy-Kudryashov
Labels
comp-codegenIssue is related to code generatorIssue is related to code generatorctg-enhancementNew feature, improvement or change requestNew feature, improvement or change request

Description

@EgorkaKulikov
EgorkaKulikov
opened on Jul 1, 2022
Issue body actions

Description

We mark hanging generated tests with @Timeout annotation but sometimes this annotation does not work properly.
For example, the test method for com.alibaba.fastjson.parser.DefaultJSONParser.accept sometimes significantly exceeds a timeout (see attached screen).

Visual proofs

image

Potential alternatives

Use another approach with assertTimeoutPreemptively
See https://stackoverflow.com/questions/57116801/how-to-fail-a-test-after-a-timeout-is-exceeded-in-junit-5/57116802#57116802 for more details.

Context

Migrated JIRA issue SAT-1671

Activity

  1. EgorkaKulikov
    added
    ctg-enhancementNew feature, improvement or change requestNew feature, improvement or change request
    comp-codegenIssue is related to code generatorIssue is related to code generator
    on Jul 1, 2022
  2. EgorkaKulikov
    self-assigned this
    on Jul 1, 2022
  3. EgorkaKulikov
    added this to UTBot Javaon Jul 1, 2022
  4. EgorkaKulikov
    moved this to Todo in UTBot Javaon Jul 1, 2022
  5. Vassiliy-Kudryashov
    self-assigned this
    on Jul 8, 2022
  6. EgorkaKulikov
    removed their assignment
    on Jul 12, 2022
  7. Vassiliy-Kudryashov
    moved this from Todo to In Progress in UTBot Javaon Jul 13, 2022
  8. Vassiliy-Kudryashov
    added a commit that references this issue on Jul 19, 2022

    Try another approach to mark hanging generated tests #371

    d85ad91
  9. Vassiliy-Kudryashov
    linked a pull request that will close this issueTry another approach to mark hanging generated tests #371 #554on Jul 19, 2022
  10. Vassiliy-Kudryashov
    closed this as completedin #554on Jul 19, 2022
  11. Vassiliy-Kudryashov
    added a commit that references this issue on Jul 19, 2022

    Try another approach to mark hanging generated tests #371 (#554)

    2fc63ac
  12. Repository owner moved this from In Progress to Done in UTBot Javaon Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @Vassiliy-Kudryashov
    Vassiliy-Kudryashov

Labels

comp-codegenIssue is related to code generatorIssue is related to code generatorctg-enhancementNew feature, improvement or change requestNew feature, improvement or change request

Type

No type

Projects

  • UTBot Java
    Status
    Done
    Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.