You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running tests via the vscode debug functionality per the tutorial, the logs do not appear in the debug console. I am able to see the logs on the Driver logs page in the UI.
To Reproduce
Steps to reproduce the behavior:
Add a pytest runner script and launch.json configuration
Some more info here...I mark all pyspark tests with slow, so that non-pyspark tests can be run locally via pytest -m "not slow". When I select these tests via the launch.json, the stdout logs appear. Here's the launch.json:
{
// Use IntelliSense to learn about possible attributes.// Hover to view descriptions of existing attributes.// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387"version": "0.2.0",
"configurations": [
{
"type": "databricks",
"request": "launch",
"name": "Unit Tests (on Databricks)",
"program": "${workspaceFolder}/<sub_directory>/pytest_databricks.py",
"args": [
".", "-vv", "-m", "slow"
],
"env": {}
},
]
}
Describe the bug
When running tests via the vscode debug functionality per the tutorial, the logs do not appear in the debug console. I am able to see the logs on the Driver logs page in the UI.
To Reproduce
Steps to reproduce the behavior:
launch.json
configurationUnit Tests (on Databricks)
Example output (anonymized):
Previously, pytest logs appeared here.
Screenshots
See above output
System information:
Help: About
command (CMD-Shift-P).Tried with v2.3.2 and v1.3.1
Databricks Extension Logs
Please attach the databricks extension logs
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: