Skip to content

Commit

Permalink
update TestComputeJVMHeapSize test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Pritham Marupaka committed Nov 14, 2023
1 parent 6890a1a commit 89c0f6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration_test/go_java_launcher_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ func TestComputeJVMHeapSize(t *testing.T) {
{
name: "computes 75% of heap minus 3mb per processor",
numHostProcessors: 1,
memoryLimit: 12 * launchlib.BytesInMebibyte,
// 75% of heap - 3mb*processors = 6mb
expectedMaxHeapSize: 6 * launchlib.BytesInMebibyte,
memoryLimit: 16 * launchlib.BytesInMebibyte,
// 75% of heap - 3mb*processors = 9mb
expectedMaxHeapSize: 9 * launchlib.BytesInMebibyte,
},
{
name: "multiple processors",
Expand Down

0 comments on commit 89c0f6e

Please sign in to comment.