Skip to content

Commit 30da9a1

Browse files
Migrate mirror probe specs to use the compact index API
Could potentially fix some flakies we're using and make the specs more "modern" and simplifies them because less fallbacks are involved.
1 parent b408b28 commit 30da9a1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bundler/spec/install/gems/mirror_probe_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,13 @@ def setup_server
105105
@server_port = find_unused_port
106106
@server_uri = "http://#{host}:#{@server_port}"
107107

108-
require_relative "../../support/artifice/endpoint"
108+
require_relative "../../support/artifice/compact_index"
109109
require_relative "../../support/silent_logger"
110110

111111
require "rackup/server"
112112

113113
@server_thread = Thread.new do
114-
Rackup::Server.start(app: Endpoint,
114+
Rackup::Server.start(app: CompactIndexAPI,
115115
Host: host,
116116
Port: @server_port,
117117
server: "webrick",

0 commit comments

Comments
 (0)