Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestBatchJobSizeInRange (0.26 sec)

  1. cmd/batch-job-common-types_test.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"fmt"
    	"testing"
    )
    
    func TestBatchJobSizeInRange(t *testing.T) {
    	tests := []struct {
    		objSize    int64
    		sizeFilter BatchJobSizeFilter
    		want       bool
    	}{
    		{
    			// 1Mib < 2Mib < 10MiB -> in range
    			objSize: 2 << 20,
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jan 08 23:22:28 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top