-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement test for qualification tool sql metric aggregates (#2591)
* Fix package name Signed-off-by: Andy Grove <[email protected]> * Rename to ToolTestUtils Signed-off-by: Andy Grove <[email protected]> * Implement basic structure for test Signed-off-by: Andy Grove <[email protected]> * Test checks that number of tasks is correct Signed-off-by: Andy Grove <[email protected]> * Add more tests Signed-off-by: Andy Grove <[email protected]> * Add cpuTime test, commented out Signed-off-by: Andy Grove <[email protected]> * Change executorCpuTime logic to match qualification tool Signed-off-by: Andy Grove <[email protected]> * use dedicated spark session in test * create new SparkSession before each test Signed-off-by: Andy Grove <[email protected]>
- Loading branch information
Showing
4 changed files
with
174 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters