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: disk_bandwidth_test.go
    path of file: ./repos/cockroach/pkg/util/admission
    
    the code of the file until where you have to start completion: // Copyright 2022 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.

pa
    
func TestDiskBandwidthLimiter(t *testing.T) {
	defer leaktest.AfterTest(t)()
	defer log.Scope(t).Close(t)

	var dbl diskBandwidthLimiter
	dblToString := func() string {
		return string(redact.Sprint(&dbl))
	}

	datadriven.RunTest(t, datapathutils.TestDataPath(t, "disk_bandwidth_limiter"),
		func(t *testing.T, d *datadriven.TestData) string {
			switch d.Cmd {
			case "init":
				dbl = makeDiskBandwidthLimiter()
				return dblToString()

			case "compute":
				var readBandwidth, writeBandwidth, provisionedBandwidth int
				d.ScanArgs(t, "read-bw", &readBandwidth)
				d.ScanArgs(t, "write-bw", &writeBandwidth)
				d.ScanArgs(t, "provisioned-bw", &provisionedBandwidth)
				diskLoad := intervalDiskLoadInfo{
					readBandwidth:        int64(readBandwidth),
					writeBandwidth:       int64(writeBandwidth),
					provisionedBandwidth: int64(provisionedBandwidth),
				}
				var incomingBytes, regularTokensUsed, elasticTokensUsed int
				d.ScanArgs(t, "incoming-bytes", &incomingBytes)
				d.ScanArgs(t, "regular-tokens-used", &regularTokensUsed)
				d.ScanArgs(t, "elastic-tokens-used", &elasticTokensUsed)
				lsmInfo := intervalLSMInfo{
					incomingBytes:     int64(incomingBytes),
					regularTokensUsed: int64(regularTokensUsed),
					elasticTokensUsed: int64(elasticTokensUsed),
				}
				dbl.computeElasticTokens(context.Background(), diskLoad, lsmInfo)
				return dblToString()

			default:
				return fmt.Sprintf("unknown command: %s", d.Cmd)
			}
		})
}