Feature #23254

Utilize webmock to prevent network connection during tests

Added by Lukas Zapletal 3 months ago. Updated 6 days ago.

Status:Closed
Priority:Normal
Assignee:Lukas Zapletal
Category:Tests
Target version:1.19.0
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link: Found in Releases:
Pull request:https://github.com/theforeman/foreman/pull/5445

Description

We have about dozen of places where we actually do connections or DNS queries, this can significantly slow down tests when used in loop or many tests. Let's prevent from that.

Associated revisions

Revision df1215f9
Added by Lukas Zapletal 3 months ago

Fixes #23254 - Utilize webmock to prevent network connection

in tests

History

#1 Updated by The Foreman Bot 3 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5445 added

#2 Updated by Lukas Zapletal 3 months ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

#3 Updated by Marek Hulán 3 months ago

  • Legacy Backlogs Release (now unused) set to 353

Also available in: Atom PDF