You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: stackdriver_filter_audit_test.go
    path of file: ./repos/istio/tests/integration/telemetry/stackdriver
    
    the code of the file until where you have to start completion: //go:build integ
// +build integ

// Copyright Istio Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WI
    
func TestStackdriverHTTPAuditLogging(t *testing.T) {
	framework.NewTest(t).
		Features("observability.telemetry.stackdriver").
		Run(func(t framework.TestContext) {
			g, _ := errgroup.WithContext(context.Background())

			ns := EchoNsInst.Name()
			args := map[string]string{
				"Namespace": ns,
			}
			t.ConfigIstio().EvalFile(ns, args, filepath.Join(env.IstioSrc, auditPolicyForLogEntry)).ApplyOrFail(t)
			t.Logf("Audit policy deployed to namespace %v", ns)

			for _, cltInstance := range Clt {
				cltInstance := cltInstance
				scopes.Framework.Infof("Validating Audit policy and Telemetry for Cluster %v", cltInstance.Config().Cluster.StableName())
				g.Go(func() error {
					err := retry.UntilSuccess(func() error {
						if err := sendTrafficForAudit(t, cltInstance); err != nil {
							return err
						}
						t.Logf("Traffic sent to namespace %v", ns)

						clName := cltInstance.Config().Cluster.Name()
						trustDomain := telemetry.GetTrustDomain(cltInstance.Config().Cluster, Ist.Settings().SystemNamespace)
						t.Logf("Collect Audit Log for cluster %v", clName)

						var errs []string

						errAuditFoo := ValidateLogs(t, filepath.Join(env.IstioSrc, serverAuditFooLogEntry), clName, trustDomain, stackdriver.ServerAuditLog)
						if errAuditFoo == nil {
							t.Logf("Foo Audit Log validated for cluster %v", clName)
						} else {
							errs = append(errs, errAuditFoo.Error())
						}

						errAuditBar := ValidateLogs(t, filepath.Join(env.IstioSrc, serverAuditBarLogEntry), clName, trustDomain, stackdriver.ServerAuditLog)
						if errAuditBar == nil {
							t.Logf("Bar Audit Log validated for cluster %v", clName)
						} else {
							errs = append(errs, errAuditBar.Error())
						}

						errAuditAll := ValidateLogs(t, filepath.Join(env.IstioSrc, serverAuditAllLogEntry), clName, trustDomain, stackdriver.ServerAuditLog)
						if errAuditAll == nil {
							t.Logf("All Audit Log validated for cluster %v", clName)
						} else {
							errs = append(errs, errAuditAll.Error())
						}

						entries, err := SDInst.ListLogEntries(stackdriver.ServerAuditLog, EchoNsInst.Name(), "")
						if err != nil {
							errs = append(errs, err.Error())
						} else {
							for _, l := range entries {
								if l.HttpRequest != nil && strings.HasSuffix(l.HttpRequest.RequestUrl, "audit-none") {
									errs = append(errs, "unwanted audit log entry `/audit-none` received.")
								}
							}
						}

						if len(errs) == 0 {
							return nil
						}

						return fmt.Errorf(strings.Join(errs, "\n"))
					}, retry.Delay(framework.TelemetryRetryDelay), retry.Timeout(framework.TelemetryRetryTimeout))
					if err != nil {
						return err
					}
					return nil
				})
			}
			if err := g.Wait(); err != nil {
				t.Fatalf("test failed: %v", err)
			}
		})
}