Disable TestSerenaAgent::test_find_symbol for FSHARP in CI #1039

Use apply instead of apply_ex in test to make exceptions visible
This commit is contained in:
Dominik Jain authored and Dominik Jain committed 2026-02-14 20:26:20 +01:00
1 parent 7513800a0f
commit e23800bea4
1 file changed
+2 -2
+2 -2
View File
@@ -126,13 +126,13 @@ class TestSerenaAgent:
def test_find_symbol(self, serena_agent: SerenaAgent, symbol_name: str, expected_kind: str, expected_file: str):
# skip flaky tests in CI
# TODO: Revisit the flaky tests and re-enable once the LS issues are resolved #1039
flaky_languages = {Language.FSHARP}
flaky_languages = {Language.FSHARP, Language.RUST}
if set(serena_agent.get_active_lsp_languages()).intersection(flaky_languages) and is_ci:
pytest.skip("Test is flaky and thus skipped in CI environment.")
agent = serena_agent
find_symbol_tool = agent.get_tool(FindSymbolTool)
result = find_symbol_tool.apply_ex(name_path_pattern=symbol_name, include_info=True)
result = find_symbol_tool.apply(name_path_pattern=symbol_name, include_info=True)
symbols = json.loads(result)
assert any(