We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69c5438 commit 8e78125Copy full SHA for 8e78125
test.py
@@ -164,12 +164,12 @@ def test_cpueff(db):
164
165
def test_gpueff(db):
166
data = """
167
- JobID,AllocTRES,TRESUsageInAve
+ JobID,AllocTRES,TRESUsageInTot
168
1,gres/gpu=1,gres/gpuutil=23
169
"""
170
slurm2sql.slurm2sql(db, [], csv_input=csvdata(data))
171
print(db.execute('select * from eff;').fetchall())
172
- assert fetch(db, 1, 'GPUEff', table='eff') == 0.23
+ assert fetch(db, 1, 'GpuEff', table='eff') == 0.23
173
174
175
#
@@ -242,7 +242,7 @@ def test_seff_mem(db, capsys):
242
243
def test_seff_gpu(db, capsys):
244
245
- JobID,End,Elapsed,TotalCPU,NCPUS,AllocTRES,TRESUsageInAve
+ JobID,End,Elapsed,TotalCPU,NCPUS,AllocTRES,TRESUsageInTot
246
111,1970-01-01T00:00:00,,1,1,,
247
111.2,1970-01-01T00:00:00,100,1,1,gres/gpu=1,gres/gpuutil=23
248
0 commit comments