Skip to content

Commit

Permalink
increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszsamson committed Aug 18, 2023
1 parent c7cdb9d commit 8e1a068
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion apps/language_server/test/server_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,16 @@ defmodule ElixirLS.LanguageServer.ServerTest do

JsonRpc.receive_packet(response(id, [config]))

assert_receive(
%{
"method" => "window/logMessage",
"params" => %{
"message" => "Received client configuration via workspace/configuration" <> _
}
},
1000
)

Server.receive_packet(
server,
did_change_configuration(nil)
Expand All @@ -115,7 +125,7 @@ defmodule ElixirLS.LanguageServer.ServerTest do
"id" => id,
"method" => "workspace/configuration"
},
1000
3000
)

JsonRpc.receive_packet(response(id, [config]))
Expand Down

0 comments on commit 8e1a068

Please sign in to comment.