profiler: Add Go 1.6 E2E tests back
The incompatible issue is fixed by
@@ -221,6 +221,17 @@ func TestAgentIntegration(t *testing.T) {
wantProfileTypes: []string{"CPU", "HEAP", "THREADS"},
goVersion: "1.7",
},
+ {
+ InstanceConfig: proftest.InstanceConfig{
+ ProjectID: projectID,
+ Zone: zone,
+ Name: fmt.Sprintf("profiler-test-go16-%s", runID),
+ MachineType: "n1-standard-1",
+ },
+ name: fmt.Sprintf("profiler-test-go16-%s-gce", runID),
+ wantProfileTypes: []string{"CPU", "HEAP", "THREADS"},
+ goVersion: "1.6",
+ },
}
// The number of tests run in parallel is the current value of GOMAXPROCS.
runtime.GOMAXPROCS(len(testcases))
