Re: Re: [farm-report] Build python-HP_UX-B.11.00-9000_829-taylor was successful.

Neal Norwitz <[email protected]> Fri, 16 Aug 2002 14:34:24 -0400
Newsgroups gmane.comp.python.snake-farm.user
Organization MetaSlash, Inc.
Message-ID <[email protected]>
> [Guido van Rossum]
> > I still see these:
> >
> > > Subject: [farm-report] Build python-HP_UX-B.11.00-9000_829-taylor was
> > >     successful.
> > [...]
> > > Exception exceptions.AttributeError: "mkstemped instance has no attribute 'fd'" in <bound method mkstemped.__del__ of <test.test_tempfile.mkstemped instance at 0x4074ccb0>> ignored
> > > Exception exceptions.AttributeError: "mkstemped instance has no attribute 'fd'" in <bound method mkstemped.__del__ of <test.test_tempfile.mkstemped instance at 0x40b11a58>> ignored
> >
> > I thought I had checked in a fix for that (reducing the number of temp
> > files created from 1000 to 100).  Why would that not be sufficient, if
> > the open file limit is 200?  Or did you reduce it to 100?  That
> > wouldn't work (I guess you'd need at least 103 :-).

There are 3 other 1000's in the file:
	test__RandomNameSequence.test_many # this is 100 now
	test__mkstemp_inner.test_basic_many
	test_mkdtemp.test_basic_many
	test_mktemp.test_many

Should I make a global that defines the max # of files:

	TEST_FILES = 100

and use it throughout the test?

Neal